|
@@ -19,23 +19,3 @@ describe( 'constructor()', () => {
|
|
|
expect( plugin ).to.have.property( 'editor' ).to.equal( editor );
|
|
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();
|
|
|
|
|
- } );
|
|
|
|
|
-} );
|
|
|