Sfoglia il codice sorgente

Added browser-only tag to test files that are not testable under node.js.

Szymon Kupś 9 anni fa
parent
commit
7f0f7247ed

+ 2 - 0
tests/ckeditor.js

@@ -3,6 +3,8 @@
  * For licensing, see LICENSE.md.
  */
 
+/* bender-tags: browser-only */
+
 'use strict';
 
 import testUtils from '/tests/ckeditor5/_utils/utils.js';

+ 2 - 0
tests/command/command.js

@@ -5,6 +5,8 @@
 
 'use strict';
 
+/* bender-tags: browser-only */
+
 import Editor from '/ckeditor5/editor.js';
 import Command from '/ckeditor5/command/command.js';
 

+ 1 - 1
tests/creator/standardcreator.js

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-/* bender-tags: creator */
+/* bender-tags: creator, browser-only */
 
 'use strict';
 

+ 2 - 0
tests/editable.js

@@ -3,6 +3,8 @@
  * For licensing, see LICENSE.md.
  */
 
+/* bender-tags: browser-only */
+
 'use strict';
 
 import Editor from '/ckeditor5/editor.js';

+ 2 - 2
tests/editor/creator.js

@@ -3,9 +3,9 @@
  * For licensing, see LICENSE.md.
  */
 
-'use strict';
+/* bender-tags: editor, creator, browser-only */
 
-/* bender-tags: editor, creator */
+'use strict';
 
 import moduleUtils from '/tests/ckeditor5/_utils/module.js';
 import testUtils from '/tests/ckeditor5/_utils/utils.js';

+ 2 - 2
tests/editor/editor.js

@@ -3,9 +3,9 @@
  * For licensing, see LICENSE.md.
  */
 
-'use strict';
+/* bender-tags: editor, browser-only */
 
-/* bender-tags: editor */
+'use strict';
 
 import moduleUtils from '/tests/ckeditor5/_utils/module.js';
 import testUtils from '/tests/ckeditor5/_utils/utils.js';

+ 2 - 0
tests/plugin.js

@@ -3,6 +3,8 @@
  * For licensing, see LICENSE.md.
  */
 
+/* bender-tags: browser-only */
+
 'use strict';
 
 import Plugin from '/ckeditor5/plugin.js';

+ 2 - 0
tests/plugincollection.js

@@ -3,6 +3,8 @@
  * For licensing, see LICENSE.md.
  */
 
+/* bender-tags: browser-only */
+
 'use strict';
 
 import moduleUtils from '/tests/ckeditor5/_utils/module.js';