Skip to content

Commit 5d0d78a

Browse files
committed
A bug in CRA makes tests return exit code 0 even on failures. Passing CI=1 is a workaround. facebook/create-react-app#7433
1 parent 7c3da2a commit 5d0d78a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"test:forwards": "yarn add -D -W react@next react-dom@next && yarn test",
2222
"test:latest": "yarn add -D -W react@latest react-dom@latest && yarn test",
2323
"test:compat": "yarn test:backwards && yarn test:forwards && yarn test:latest",
24-
"test:examples": "lerna run test -- --passWithNoTests --watchAll=false",
24+
"test:examples": "CI=1 lerna run test -- --passWithNoTests --watchAll=false",
2525
"ci": "yarn lint && yarn test:compat && yarn test:examples",
2626
"build": "lerna run build",
2727
"bump": "lerna version -m 'Bump' --no-git-tag-version --no-push",

0 commit comments

Comments
 (0)