|
@@ -11,6 +11,7 @@ import Editor from '/ckeditor5/core/editor/editor.js';
|
|
|
import Plugin from '/ckeditor5/core/plugin.js';
|
|
import Plugin from '/ckeditor5/core/plugin.js';
|
|
|
import Config from '/ckeditor5/utils/config.js';
|
|
import Config from '/ckeditor5/utils/config.js';
|
|
|
import PluginCollection from '/ckeditor5/core/plugincollection.js';
|
|
import PluginCollection from '/ckeditor5/core/plugincollection.js';
|
|
|
|
|
+import FocusManager from '/ckeditor5/utils/focusmanager.js';
|
|
|
|
|
|
|
|
const pluginClasses = {};
|
|
const pluginClasses = {};
|
|
|
|
|
|
|
@@ -28,6 +29,7 @@ describe( 'Editor', () => {
|
|
|
|
|
|
|
|
expect( editor.config ).to.be.an.instanceof( Config );
|
|
expect( editor.config ).to.be.an.instanceof( Config );
|
|
|
expect( editor.commands ).to.be.an.instanceof( Map );
|
|
expect( editor.commands ).to.be.an.instanceof( Map );
|
|
|
|
|
+ expect( editor.focusManager ).to.instanceOf( FocusManager );
|
|
|
|
|
|
|
|
expect( editor.plugins ).to.be.an.instanceof( PluginCollection );
|
|
expect( editor.plugins ).to.be.an.instanceof( PluginCollection );
|
|
|
expect( getPlugins( editor ) ).to.be.empty;
|
|
expect( getPlugins( editor ) ).to.be.empty;
|