mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-24 05:05:53 +08:00
Remove || exit 1
This commit is contained in:
12
tasks/e2e.sh
12
tasks/e2e.sh
@@ -40,8 +40,8 @@ npm start -- --smoke-test
|
||||
npm run build
|
||||
|
||||
# Check for expected output
|
||||
test -e build/*.html || exit 1
|
||||
test -e build/*.js || exit 1
|
||||
test -e build/*.html
|
||||
test -e build/*.js
|
||||
|
||||
# Pack CLI
|
||||
cd global-cli
|
||||
@@ -63,8 +63,8 @@ cd test-app
|
||||
npm run build
|
||||
|
||||
# Check for expected output
|
||||
test -e build/*.html || exit 1
|
||||
test -e build/*.js || exit 1
|
||||
test -e build/*.html
|
||||
test -e build/*.js
|
||||
|
||||
# Test the server
|
||||
npm start -- --smoke-test
|
||||
@@ -74,8 +74,8 @@ echo yes | npm run eject
|
||||
npm run build
|
||||
|
||||
# Check for expected output
|
||||
test -e build/*.html || exit 1
|
||||
test -e build/*.js || exit 1
|
||||
test -e build/*.html
|
||||
test -e build/*.js
|
||||
|
||||
# Test the server
|
||||
npm start -- --smoke-test
|
||||
|
||||
Reference in New Issue
Block a user