| 1234567891011121314151617181920212223 |
- /**
- * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md.
- */
- 'use strict';
- import Plugin from '/ckeditor5/core/plugin.js';
- import Editor from '/ckeditor5/core/editor.js';
- let editor;
- before( () => {
- editor = new Editor( document.body.appendChild( document.createElement( 'div' ) ) );
- } );
- describe( 'constructor', () => {
- it( 'should set the `editor` property', () => {
- let plugin = new Plugin( editor );
- expect( plugin ).to.have.property( 'editor' ).to.equal( editor );
- } );
- } );
|