Skip to content

Commit

Permalink
Remove --coverage + --watch workaround (#4176)
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan authored and Jack Zhao committed Apr 2, 2019
1 parent 1a61db5 commit 9514cb8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/react-scripts/scripts/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,10 @@ function isInMercurialRepository() {
}
}

// Watch unless on CI, in coverage mode, explicitly adding `--no-watch`,
// Watch unless on CI, explicitly adding `--no-watch`,
// or explicitly running all tests
if (
!process.env.CI &&
argv.indexOf('--coverage') === -1 &&
argv.indexOf('--no-watch') === -1 &&
argv.indexOf('--watchAll') === -1
) {
Expand Down

0 comments on commit 9514cb8

Please sign in to comment.