|
@@ -11,11 +11,11 @@ import UndoUI from '../src/undoui';
|
|
|
import ButtonView from '@ckeditor/ckeditor5-ui/src/button/buttonview';
|
|
import ButtonView from '@ckeditor/ckeditor5-ui/src/button/buttonview';
|
|
|
import testUtils from '@ckeditor/ckeditor5-core/tests/_utils/utils';
|
|
import testUtils from '@ckeditor/ckeditor5-core/tests/_utils/utils';
|
|
|
|
|
|
|
|
-testUtils.createSinonSandbox();
|
|
|
|
|
-
|
|
|
|
|
describe( 'UndoUI', () => {
|
|
describe( 'UndoUI', () => {
|
|
|
let editor, editorElement;
|
|
let editor, editorElement;
|
|
|
|
|
|
|
|
|
|
+ testUtils.createSinonSandbox();
|
|
|
|
|
+
|
|
|
beforeEach( () => {
|
|
beforeEach( () => {
|
|
|
editorElement = document.createElement( 'div' );
|
|
editorElement = document.createElement( 'div' );
|
|
|
document.body.appendChild( editorElement );
|
|
document.body.appendChild( editorElement );
|