Skip to content

Commit

Permalink
fixes unit on bacon (#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongranick-okta authored Aug 14, 2020
1 parent 2b9f27b commit 596be9a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/unit.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -xe
#!/bin/bash -x

# Install current version of Chrome
setup_service google-chrome-stable 79.0.3945.88-1
Expand All @@ -9,7 +9,10 @@ export TEST_SUITE_TYPE="jsunit"
export TEST_RESULT_FILE_DIR="${REPO}/build2/reports/unit"

# build is required to run E2E tests
yarn build
if ! yarn build; then
echo "build failed! Exiting..."
exit ${TEST_FAILURE}
fi

if ! yarn test:report; then
echo "unit failed! Exiting..."
Expand Down

0 comments on commit 596be9a

Please sign in to comment.