|
|
@@ -17,6 +17,10 @@ import leftIcon from '@ckeditor/ckeditor5-core/theme/icons/object-left.svg';
|
|
|
import centerIcon from '@ckeditor/ckeditor5-core/theme/icons/object-center.svg';
|
|
|
import rightIcon from '@ckeditor/ckeditor5-core/theme/icons/object-right.svg';
|
|
|
|
|
|
+import testUtils from '@ckeditor/ckeditor5-core/tests/_utils/utils';
|
|
|
+
|
|
|
+testUtils.createSinonSandbox();
|
|
|
+
|
|
|
describe( 'ImageStyleEngine', () => {
|
|
|
let editor, plugin, document, viewDocument;
|
|
|
|
|
|
@@ -417,7 +421,7 @@ describe( 'ImageStyleEngine', () => {
|
|
|
} );
|
|
|
|
|
|
it( 'should warn if a #name not found in default styles', () => {
|
|
|
- sinon.stub( log, 'warn' );
|
|
|
+ testUtils.sinon.stub( log, 'warn' );
|
|
|
|
|
|
return VirtualTestEditor
|
|
|
.create( {
|