File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -62,9 +62,6 @@ trap 'set +x; handle_exit' SIGQUIT SIGTERM SIGINT SIGKILL SIGHUP
62
62
# Echo every command being executed
63
63
set -x
64
64
65
- # Don't expand globs
66
- set -f
67
-
68
65
# Go to root
69
66
cd ..
70
67
root_path=$PWD
@@ -159,13 +156,13 @@ REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \
159
156
CI=true \
160
157
NODE_PATH=src \
161
158
NODE_ENV=test \
162
- npm test -- --no-cache --testPathPattern=" / src/ "
159
+ npm test -- --no-cache --testPathPattern=src
163
160
164
161
# Catch when no tests are detected
165
162
testsList=$( REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \
166
163
CI=true \
167
164
NODE_PATH=src \
168
- npm test -- --no-cache --testPathPattern=" / src/ " --listTests)
165
+ npm test -- --no-cache --testPathPattern=src --listTests)
169
166
170
167
if [[ ${testsList} =~ " []" ]]; then
171
168
exit 1
@@ -233,7 +230,7 @@ REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \
233
230
CI=true \
234
231
NODE_PATH=src \
235
232
NODE_ENV=test \
236
- npm test -- --no-cache --testPathPattern=' / src/ '
233
+ npm test -- --no-cache --testPathPattern=src
237
234
238
235
# Test "development" environment
239
236
tmp_server_log=` mktemp`
You can’t perform that action at this time.
0 commit comments