8
0
Эх сурвалжийг харах

Test: Aligned test to latest API.

Oskar Wróbel 8 жил өмнө
parent
commit
63134c3748

+ 1 - 1
packages/ckeditor5-core/tests/editor/editor.js

@@ -153,7 +153,7 @@ describe( 'Editor', () => {
 		it( 'should create main root element', () => {
 			const editor = new Editor();
 
-			expect( editor.model.document.hasRoot( 'main' ) ).to.true;
+			expect( editor.model.document.getRoot( 'main' ) ).to.ok;
 		} );
 
 		it( 'should activate #keystrokes', () => {