Răsfoiți Sursa

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 ani în urmă
părinte
comite
fc51a6a211
3 a modificat fișierele cu 0 adăugiri și 6 ștergeri
  1. 0 1
      dev/tests/dev/status.js
  2. 0 1
      dev/tests/dev/update.js
  3. 0 4
      package.json

+ 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"
   }
 }