From 8bb74418833d651bac62d770481551d330fca519 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Sat, 27 May 2017 23:26:03 +0100 Subject: [PATCH] Revert "Catch "No tests found" during CI" (#2390) * Revert "Fix wrong path expansion in end-to-end test (#2388)" This reverts commit 2aafaad72d1737eae98c4de9cbe275c1988ec4ae. * Revert "Suggest just "yarn build" (#2385)" This reverts commit 70bf12505c4419c171aca3e07d7a388bf1dc9cbc. * 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 4506066cc4f..9e689ca222e 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 \