Browse Source

Merge branch t/ckeditor5/1144

Tests: Properly use sinon sandbox in tests t/ckeditor5/1144.
Oskar Wróbel 7 years ago
parent
commit
2115574b98
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/ckeditor5-highlight/tests/highlightui.js

+ 2 - 2
packages/ckeditor5-highlight/tests/highlightui.js

@@ -16,11 +16,11 @@ import ClassicTestEditor from '@ckeditor/ckeditor5-core/tests/_utils/classictest
 import testUtils from '@ckeditor/ckeditor5-core/tests/_utils/utils';
 import { _clear as clearTranslations, add as addTranslations } from '@ckeditor/ckeditor5-utils/src/translation-service';
 
-testUtils.createSinonSandbox();
-
 describe( 'HighlightUI', () => {
 	let editor, command, element;
 
+	testUtils.createSinonSandbox();
+
 	before( () => {
 		addTranslations( 'en', {
 			'Highlight': 'Highlight',