removes codecov from front-end tests

This commit is contained in:
bergquist
2018-04-16 09:57:41 +02:00
parent 738fb29134
commit 6c6b74fc39
5 changed files with 3 additions and 28 deletions

View File

@@ -1,14 +1,9 @@
module.exports = function(config, grunt) {
'use strict';
var coverage = '';
if (config.coverage) {
coverage = '--coverage --maxWorkers 2';
}
return {
tslint: 'node ./node_modules/tslint/lib/tslint-cli.js -c tslint.json --project ./tsconfig.json',
jest: 'node ./node_modules/jest-cli/bin/jest.js ' + coverage,
jest: 'node ./node_modules/jest-cli/bin/jest.js --maxWorkers 2',
webpack: 'node ./node_modules/webpack/bin/webpack.js --config scripts/webpack/webpack.prod.js',
};
};