From b01dc340f7d7514270a700ea52badf1a6de3f792 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Sat, 27 May 2017 23:24:45 +0100 Subject: [PATCH] Revert "Catch "No tests found" during CI (#2387)" This reverts commit 5317b3f910d4796dafbf87aa571eebc45cd1b277. --- tasks/e2e-kitchensink.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tasks/e2e-kitchensink.sh b/tasks/e2e-kitchensink.sh index 9d60d6e2935..2295615e8ea 100755 --- a/tasks/e2e-kitchensink.sh +++ b/tasks/e2e-kitchensink.sh @@ -158,16 +158,6 @@ REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \ NODE_ENV=test \ npm test -- --no-cache --testPathPattern="/src/" -# Catch when no tests are detected -testsList=$(REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \ - CI=true \ - NODE_PATH=src \ - npm test -- --no-cache --testPathPattern="/src/" --listTests) - -if [[ ${testsList} =~ "[]" ]]; then - exit 1 -fi - # Test "development" environment tmp_server_log=`mktemp` PORT=3001 \