8
0
Просмотр исходного кода

Tests: Removed test cases for optional method in Plugin class.

Kamil Piechaczek 8 лет назад
Родитель
Сommit
f9e84bec14
1 измененных файлов с 0 добавлено и 20 удалено
  1. 0 20
      packages/ckeditor5-core/tests/plugin.js

+ 0 - 20
packages/ckeditor5-core/tests/plugin.js

@@ -19,23 +19,3 @@ describe( 'constructor()', () => {
 		expect( plugin ).to.have.property( 'editor' ).to.equal( editor );
 	} );
 } );
-
-describe( 'init', () => {
-	it( 'should exist and do nothing', () => {
-		const plugin = new Plugin( editor );
-
-		expect( plugin.init ).to.be.a( 'function' );
-
-		plugin.init();
-	} );
-} );
-
-describe( 'destroy', () => {
-	it( 'should exist and do nothing', () => {
-		const plugin = new Plugin( editor );
-
-		expect( plugin.destroy ).to.be.a( 'function' );
-
-		plugin.destroy();
-	} );
-} );