Closed
Description
Now --watch
flag for jest tests is disabled in two cases (scripts/test.js#L25):
- is CI
- or
--coverage
is added
but when run npm run e2e
locally - tests always stops at first npm test
- tasks/e2e-simple.sh#L117
Maybe add isSmokeTest
check like at utils/createWebpackCompiler.js#L11?
// Watch unless on CI or in coverage mode
const isSmokeTest = process.argv.some(arg => arg.indexOf('--smoke-test') > -1)
if (!isSmokeTest && !process.env.CI && argv.indexOf('--coverage') < 0) {
argv.push('--watch');
}
Metadata
Metadata
Assignees
Labels
No labels