Skip to content

Commit b01dc34

Browse files
authored
Revert "Catch "No tests found" during CI (#2387)"
This reverts commit 5317b3f.
1 parent 3daf1cb commit b01dc34

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tasks/e2e-kitchensink.sh

-10
Original file line numberDiff line numberDiff line change
@@ -158,16 +158,6 @@ REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \
158158
NODE_ENV=test \
159159
npm test -- --no-cache --testPathPattern="/src/"
160160

161-
# Catch when no tests are detected
162-
testsList=$(REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \
163-
CI=true \
164-
NODE_PATH=src \
165-
npm test -- --no-cache --testPathPattern="/src/" --listTests)
166-
167-
if [[ ${testsList} =~ "[]" ]]; then
168-
exit 1
169-
fi
170-
171161
# Test "development" environment
172162
tmp_server_log=`mktemp`
173163
PORT=3001 \

0 commit comments

Comments
 (0)