mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-23 04:40:23 +08:00
Remove --coverage + --watch workaround (#4176)
This commit is contained in:
3
packages/react-scripts/scripts/test.js
vendored
3
packages/react-scripts/scripts/test.js
vendored
@@ -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
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user