Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge branch t/ckeditor5/1144
Browse files Browse the repository at this point in the history
Tests: Properly use sinon sandbox in tests t/ckeditor5/1144.
  • Loading branch information
oskarwrobel committed Jul 10, 2018
2 parents 398c849 + 1f4c5f5 commit 2d748b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/decouplededitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ import RootElement from '@ckeditor/ckeditor5-engine/src/model/rootelement';

import testUtils from '@ckeditor/ckeditor5-core/tests/_utils/utils';

testUtils.createSinonSandbox();

const editorData = '<p><strong>foo</strong> bar</p>';

describe( 'DecoupledEditor', () => {
let editor;

testUtils.createSinonSandbox();

describe( 'constructor()', () => {
beforeEach( () => {
editor = new DecoupledEditor();
Expand Down
4 changes: 2 additions & 2 deletions tests/decouplededitorui.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ import { keyCodes } from '@ckeditor/ckeditor5-utils/src/keyboard';
import testUtils from '@ckeditor/ckeditor5-core/tests/_utils/utils';
import utils from '@ckeditor/ckeditor5-utils/tests/_utils/utils';

testUtils.createSinonSandbox();

describe( 'DecoupledEditorUI', () => {
let editor, view, ui;

testUtils.createSinonSandbox();

beforeEach( () => {
return VirtualDecoupledTestEditor
.create( {
Expand Down

0 comments on commit 2d748b0

Please sign in to comment.