diff --git a/scripts/lint.sh b/scripts/lint.sh index a2e1e74b8..6d6398783 100644 --- a/scripts/lint.sh +++ b/scripts/lint.sh @@ -15,4 +15,4 @@ fi echo ${TEST_SUITE_TYPE} > ${TEST_SUITE_TYPE_FILE} echo ${TEST_RESULT_FILE_DIR} > ${TEST_RESULT_FILE_DIR_FILE} -exit ${PUBLISH_TYPE_AND_RESULT_DIR} +exit ${PUBLISH_TYPE_AND_RESULT_DIR_BUT_SUCCEED_IF_NO_RESULTS} diff --git a/scripts/unit.sh b/scripts/unit.sh index 4d6af6403..2140b6e5e 100644 --- a/scripts/unit.sh +++ b/scripts/unit.sh @@ -5,7 +5,7 @@ setup_service google-chrome-stable 79.0.3945.88-1 source ${OKTA_HOME}/${REPO}/scripts/setup.sh -export TEST_SUITE_TYPE="jsunit" +export TEST_SUITE_TYPE="junit" export TEST_RESULT_FILE_DIR="${REPO}/build2/reports/unit" # build is required to run E2E tests @@ -14,7 +14,7 @@ if ! yarn build; then exit ${TEST_FAILURE} fi -if ! yarn test:report; then +if ! yarn test:unit; then echo "unit failed! Exiting..." exit ${TEST_FAILURE} fi