Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions scripts/tasks/jest.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ module.exports = function (options) {
// Forces test results output highlighting even if stdout is not a TTY.
'--colors',

// Run tests in serial (parallel builds seem to hang rush.)
// On Windows, this is occasionally an issue: https://github.com/facebook/jest/issues/4444
// Temporarily run sequentially on Windows until jest is upgraded.
process.env.TRAVIS || process.platform === 'win32' ? `--runInBand` : undefined,
// On Travis, run tests in serial as supposedly, the free Travis build terminates if multiple processes are spun up.
process.env.TRAVIS ? `--runInBand` : undefined,

// In production builds, produce coverage information.
options.isProduction && '--coverage',
Expand Down