Remove --coverage + --watch workaround (#4176)

This commit is contained in:
Cody Olsen
2019-04-02 19:49:36 +02:00
committed by Jack Zhao
parent 1a61db58d4
commit 9514cb88ab

View File

@@ -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
) {