Explorar o código

set maxworkers 2 for frontend tests

bergquist %!s(int64=7) %!d(string=hai) anos
pai
achega
0f8b9b8ff9
Modificáronse 2 ficheiros con 2 adicións e 1 borrados
  1. 1 0
      scripts/circle-test-frontend.sh
  2. 1 1
      scripts/grunt/options/exec.js

+ 1 - 0
scripts/circle-test-frontend.sh

@@ -11,3 +11,4 @@ function exit_if_fail {
 }
 
 exit_if_fail npm run test
+exit_if_fail npm run build

+ 1 - 1
scripts/grunt/options/exec.js

@@ -3,7 +3,7 @@ module.exports = function(config, grunt) {
 
   return {
     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',
   };
 };