Răsfoiți Sursa

Tests: Removed a test that leaks DOM asynchronously and does not test what it is meant to test.

See https://github.com/ckeditor/ckeditor5/issues/6042 for more information.
Marek Lewandowski 6 ani în urmă
părinte
comite
3a8f09c7fb
1 a modificat fișierele cu 0 adăugiri și 7 ștergeri
  1. 0 7
      packages/ckeditor5-watchdog/tests/watchdog.js

+ 0 - 7
packages/ckeditor5-watchdog/tests/watchdog.js

@@ -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 ) );