Skip to content

Commit 47f29dc

Browse files
authored
Try again (differently)
1 parent bbdcb07 commit 47f29dc

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

tasks/e2e-kitchensink.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ trap 'set +x; handle_exit' SIGQUIT SIGTERM SIGINT SIGKILL SIGHUP
6262
# Echo every command being executed
6363
set -x
6464

65-
# Don't expand globs
66-
set -f
67-
6865
# Go to root
6966
cd ..
7067
root_path=$PWD
@@ -159,13 +156,13 @@ REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \
159156
CI=true \
160157
NODE_PATH=src \
161158
NODE_ENV=test \
162-
npm test -- --no-cache --testPathPattern="/src/"
159+
npm test -- --no-cache --testPathPattern=src
163160

164161
# Catch when no tests are detected
165162
testsList=$(REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \
166163
CI=true \
167164
NODE_PATH=src \
168-
npm test -- --no-cache --testPathPattern="/src/" --listTests)
165+
npm test -- --no-cache --testPathPattern=src --listTests)
169166

170167
if [[ ${testsList} =~ "[]" ]]; then
171168
exit 1
@@ -233,7 +230,7 @@ REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \
233230
CI=true \
234231
NODE_PATH=src \
235232
NODE_ENV=test \
236-
npm test -- --no-cache --testPathPattern='/src/'
233+
npm test -- --no-cache --testPathPattern=src
237234

238235
# Test "development" environment
239236
tmp_server_log=`mktemp`

0 commit comments

Comments
 (0)