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 fd0c316 + de35f11 commit 9866bce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/fontfamily/fontfamilyui.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ import ClassicTestEditor from '@ckeditor/ckeditor5-core/tests/_utils/classictest
import testUtils from '@ckeditor/ckeditor5-core/tests/_utils/utils';
import { add as addTranslations, _clear as clearTranslations } from '@ckeditor/ckeditor5-utils/src/translation-service';

testUtils.createSinonSandbox();

describe( 'FontFamilyUI', () => {
let editor, command, element;

testUtils.createSinonSandbox();

before( () => {
addTranslations( 'en', {
'Font Family': 'Font Family',
Expand Down
4 changes: 2 additions & 2 deletions tests/fontsize/fontsizeui.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ import testUtils from '@ckeditor/ckeditor5-core/tests/_utils/utils';
import { _clear as clearTranslations, add as addTranslations } from '@ckeditor/ckeditor5-utils/src/translation-service';
import { normalizeOptions } from '../../src/fontsize/utils';

testUtils.createSinonSandbox();

describe( 'FontSizeUI', () => {
let editor, command, element;

testUtils.createSinonSandbox();

before( () => {
addTranslations( 'en', {
'Font Size': 'Font Size',
Expand Down

0 comments on commit 9866bce

Please sign in to comment.