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