Explorar el Código

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

Piotrek Koszuliński hace 7 años
padre
commit
0c7cfa7bd5
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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( '' );
 				} );
 		} );
 	} );