|
@@ -8,6 +8,7 @@
|
|
|
import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';
|
|
import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';
|
|
|
import Image from '@ckeditor/ckeditor5-image/src/image';
|
|
import Image from '@ckeditor/ckeditor5-image/src/image';
|
|
|
import ImageUpload from '../src/imageupload';
|
|
import ImageUpload from '../src/imageupload';
|
|
|
|
|
+import ImageUploadEngine from '../src/imageuploadengine';
|
|
|
import ImageUploadProgress from '../src/imageuploadprogress';
|
|
import ImageUploadProgress from '../src/imageuploadprogress';
|
|
|
import ImageUploadButton from '../src/imageuploadbutton';
|
|
import ImageUploadButton from '../src/imageuploadbutton';
|
|
|
|
|
|
|
@@ -35,6 +36,10 @@ describe( 'ImageUpload', () => {
|
|
|
return editor.destroy();
|
|
return editor.destroy();
|
|
|
} );
|
|
} );
|
|
|
|
|
|
|
|
|
|
+ it( 'should include ImageUploadEngine', () => {
|
|
|
|
|
+ expect( editor.plugins.get( ImageUploadEngine ) ).to.be.instanceOf( ImageUploadEngine );
|
|
|
|
|
+ } );
|
|
|
|
|
+
|
|
|
it( 'should include ImageUploadProgress', () => {
|
|
it( 'should include ImageUploadProgress', () => {
|
|
|
expect( editor.plugins.get( ImageUploadProgress ) ).to.be.instanceOf( ImageUploadProgress );
|
|
expect( editor.plugins.get( ImageUploadProgress ) ).to.be.instanceOf( ImageUploadProgress );
|
|
|
} );
|
|
} );
|