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.
@@ -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' );
@@ -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"
}