8
0
Эх сурвалжийг харах

Require is not more needed when tests are running via Gulp.

These lines were needed when unit tests was running via npm scripts.
When units are running via Gulp, all tasks are registred before tests.

Also removed npm scripts.
Kamil Piechaczek 9 жил өмнө
parent
commit
fc51a6a211

+ 0 - 1
dev/tests/dev/status.js

@@ -7,7 +7,6 @@
 
 'use strict';
 
-require( '../../tasks/dev/tasks' )( {} );
 const sinon = require( 'sinon' );
 const tools = require( '../../tasks/dev/utils/tools' );
 const git = require( '../../tasks/dev/utils/git' );

+ 0 - 1
dev/tests/dev/update.js

@@ -7,7 +7,6 @@
 
 'use strict';
 
-require( '../../tasks/dev/tasks' )( {} );
 const sinon = require( 'sinon' );
 const tools = require( '../../tasks/dev/utils/tools' );
 const git = require( '../../tasks/dev/utils/git' );

+ 0 - 4
package.json

@@ -87,9 +87,5 @@
   "repository": {
     "type": "git",
     "url": "https://github.com/ckeditor/ckeditor5.git"
-  },
-  "scripts": {
-    "test": "mocha dev/tests --recursive",
-    "coverage": "istanbul cover _mocha dev/tests/ -- --recursive"
   }
 }