Procházet zdrojové kódy

Fixes required by ckeditor5-engine/t/518.

Szymon Cofalik před 9 roky
rodič
revize
ed4d34ee42

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

@@ -41,7 +41,7 @@ describe( 'ClassicEditor', () => {
 		} );
 
 		it( 'creates a single document root', () => {
-			expect( count( editor.document.rootNames ) ).to.equal( 1 );
+			expect( count( editor.document.getRootNames() ) ).to.equal( 1 );
 			expect( editor.document.getRoot() ).to.have.property( 'name', '$root' );
 		} );