Skip to content

Commit

Permalink
Merge pull request #5 from suutari-ai/speedup-jest-in-travis
Browse files Browse the repository at this point in the history
scripts/test: Use maxWorkers=4 when running on CI
  • Loading branch information
ehaivala authored Jan 15, 2018
2 parents 9bea75e + 43ba47a commit 8765255
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/react-scripts/scripts/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ const argv = process.argv.slice(2);
if (!process.env.CI && argv.indexOf('--coverage') < 0) {
argv.push('--watch');
}
else {
argv.push('--maxWorkers=4');
}

// @remove-on-eject-begin
// This is not necessary after eject because we embed config into package.json.
Expand Down

0 comments on commit 8765255

Please sign in to comment.