Skip to content

Commit 9514cb8

Browse files
stipsanJack Zhao
authored and
Jack Zhao
committed
Remove --coverage + --watch workaround (#4176)
1 parent 1a61db5 commit 9514cb8

File tree

1 file changed

+1
-2
lines changed
  • packages/react-scripts/scripts

1 file changed

+1
-2
lines changed

packages/react-scripts/scripts/test.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,10 @@ function isInMercurialRepository() {
5454
}
5555
}
5656

57-
// Watch unless on CI, in coverage mode, explicitly adding `--no-watch`,
57+
// Watch unless on CI, explicitly adding `--no-watch`,
5858
// or explicitly running all tests
5959
if (
6060
!process.env.CI &&
61-
argv.indexOf('--coverage') === -1 &&
6261
argv.indexOf('--no-watch') === -1 &&
6362
argv.indexOf('--watchAll') === -1
6463
) {

0 commit comments

Comments
 (0)