Ver Fonte

Removed unnecessary test case.

Oskar Wróbel há 7 anos atrás
pai
commit
f4dbcc82e4

+ 0 - 11
packages/ckeditor5-editor-decoupled/tests/decouplededitorui.js

@@ -150,17 +150,6 @@ describe( 'DecoupledEditorUI', () => {
 				} );
 		} );
 	} );
-
-	describe( 'destroy()', () => {
-		it( 'calls EditorUI#destroy', () => {
-			const spy = testUtils.sinon.spy( EditorUI.prototype, 'destroy' );
-
-			return editor.destroy()
-				.then( () => {
-					sinon.assert.calledOnce( spy );
-				} );
-		} );
-	} );
 } );
 
 function viewCreator( name ) {