mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-24 05:05:53 +08:00
committed by
Ian Sutherland
parent
67a2088a7b
commit
cbad256a4a
3
packages/react-scripts/scripts/test.js
vendored
3
packages/react-scripts/scripts/test.js
vendored
@@ -57,7 +57,8 @@ function isInMercurialRepository() {
|
||||
// Watch unless on CI or explicitly running all tests
|
||||
if (
|
||||
!process.env.CI &&
|
||||
argv.indexOf('--watchAll') === -1
|
||||
argv.indexOf('--watchAll') === -1 &&
|
||||
argv.indexOf('--watchAll=false') === -1
|
||||
) {
|
||||
// https://github.com/facebook/create-react-app/issues/5210
|
||||
const hasSourceControl = isInGitRepository() || isInMercurialRepository();
|
||||
|
||||
Reference in New Issue
Block a user