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

Commit

Permalink
Tests: Removed a test that leaks DOM asynchronously and does not test…
Browse files Browse the repository at this point in the history
… what it is meant to test.

See ckeditor/ckeditor5#6042 for more information.
  • Loading branch information
mlewand committed Jan 3, 2020
1 parent 70b815a commit 9b6ace1
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/watchdog.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,6 @@ describe( 'Watchdog', () => {
);
} );

it( 'should not throw an error when the destructor is not defined', () => {
const watchdog = new Watchdog();
watchdog.setCreator( ( el, config ) => ClassicTestEditor.create( el, config ) );

expect( () => watchdog.create() ).to.not.throw();
} );

it( 'should properly copy the config', () => {
const watchdog = new Watchdog();
watchdog.setCreator( ( el, config ) => ClassicTestEditor.create( el, config ) );
Expand Down

0 comments on commit 9b6ace1

Please sign in to comment.