Преглед на файлове

Merge branch 'master' into t/ckeditor5-dev/371

Piotrek Koszuliński преди 7 години
родител
ревизия
0c7cfa7bd5
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      packages/ckeditor5-build-classic/tests/ckeditor.js

+ 2 - 2
packages/ckeditor5-build-classic/tests/ckeditor.js

@@ -73,11 +73,11 @@ describe( 'ClassicEditor build', () => {
 		} );
 
 		it( 'restores the editor element', () => {
-			expect( editor.element.style.display ).to.equal( 'none' );
+			expect( editor.sourceElement.style.display ).to.equal( 'none' );
 
 			return editor.destroy()
 				.then( () => {
-					expect( editor.element.style.display ).to.equal( '' );
+					expect( editor.sourceElement.style.display ).to.equal( '' );
 				} );
 		} );
 	} );