Skip to content
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.

Commit

Permalink
Revert "Catch "No tests found" during CI" (#2390)
Browse files Browse the repository at this point in the history
* Revert "Fix wrong path expansion in end-to-end test (#2388)"

This reverts commit 2aafaad.

* Revert "Suggest just "yarn build" (#2385)"

This reverts commit 70bf125.

* Revert "Catch "No tests found" during CI (#2387)"

This reverts commit 5317b3f.
  • Loading branch information
gaearon authored and wmonk committed Aug 7, 2017
1 parent 4a18386 commit 55c2cc6
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tasks/e2e-kitchensink.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 55c2cc6

Please sign in to comment.