|
|
@@ -3,7 +3,7 @@
|
|
|
* For licensing, see LICENSE.md.
|
|
|
*/
|
|
|
|
|
|
-/* globals setTimeout */
|
|
|
+/* globals window, setTimeout */
|
|
|
|
|
|
import Editor from '../../src/editor/editor';
|
|
|
import Plugin from '../../src/plugin';
|
|
|
@@ -99,6 +99,10 @@ describe( 'Editor', () => {
|
|
|
delete Editor.build;
|
|
|
} );
|
|
|
|
|
|
+ it( 'imports the version helper', () => {
|
|
|
+ expect( window.CKEDITOR_VERSION ).to.be.a( 'string' );
|
|
|
+ } );
|
|
|
+
|
|
|
describe( 'constructor()', () => {
|
|
|
it( 'should create a new editor instance', () => {
|
|
|
const editor = new Editor();
|