Commit 0f8b9b8f by bergquist

set maxworkers 2 for frontend tests

parent 63ed02e6
...@@ -11,3 +11,4 @@ function exit_if_fail { ...@@ -11,3 +11,4 @@ function exit_if_fail {
} }
exit_if_fail npm run test exit_if_fail npm run test
exit_if_fail npm run build
...@@ -3,7 +3,7 @@ module.exports = function(config, grunt) { ...@@ -3,7 +3,7 @@ module.exports = function(config, grunt) {
return { return {
tslint: 'node ./node_modules/tslint/lib/tslintCli.js -c tslint.json --project ./tsconfig.json', tslint: 'node ./node_modules/tslint/lib/tslintCli.js -c tslint.json --project ./tsconfig.json',
jest: 'node ./node_modules/jest-cli/bin/jest.js', 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', webpack: 'node ./node_modules/webpack/bin/webpack.js --config scripts/webpack/webpack.prod.js',
}; };
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment