Explorar o código

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 %!s(int64=9) %!d(string=hai) anos
pai
achega
fc51a6a211
Modificáronse 3 ficheiros con 0 adicións e 6 borrados
  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"
   }
 }