瀏覽代碼

Removed unnecessary test case.

Oskar Wróbel 7 年之前
父節點
當前提交
1928175cb8
共有 1 個文件被更改,包括 0 次插入11 次删除
  1. 0 11
      packages/ckeditor5-editor-classic/tests/classiceditorui.js

+ 0 - 11
packages/ckeditor5-editor-classic/tests/classiceditorui.js

@@ -178,17 +178,6 @@ describe( 'ClassicEditorUI', () => {
 				} );
 				} );
 		} );
 		} );
 	} );
 	} );
-
-	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 ) {
 function viewCreator( name ) {