Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #47 from ckeditor/t/ckeditor5-core/64
Browse files Browse the repository at this point in the history
Tests: Adjusted the code to the changes in ckeditor5-editor-classic. See ckeditor/ckeditor5-core#129.
  • Loading branch information
Reinmar authored Jul 3, 2018
2 parents cbee379 + faea908 commit deb2beb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ckeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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( '' );
} );
} );
} );
Expand Down

0 comments on commit deb2beb

Please sign in to comment.