Skip to content

Commit 8be6d53

Browse files
authored
ci: fix failing test (#202)
1 parent 2d0cd39 commit 8be6d53

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.circleci/setupAndTestWithFreeCore.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ pid=$!
5656
cd ../../
5757

5858
if ! [[ -z "${CIRCLE_NODE_TOTAL}" ]]; then
59-
SUPERTOKENS_CORE_TAG=$coreTag INSTALL_PATH=../supertokens-root multi="spec=- mocha-junit-reporter=/dev/null" npx mocha --reporter mocha-multi --no-config --require isomorphic-fetch --timeout 500000 $(npx mocha-split-tests -r ./runtime.log -t $CIRCLE_NODE_TOTAL -g $CIRCLE_NODE_INDEX -f 'test/*.test.js')
59+
TEST_MODE=testing SUPERTOKENS_CORE_TAG=$coreTag INSTALL_PATH=../supertokens-root multi="spec=- mocha-junit-reporter=/dev/null" npx mocha --reporter mocha-multi --no-config --require isomorphic-fetch --timeout 500000 $(npx mocha-split-tests -r ./runtime.log -t $CIRCLE_NODE_TOTAL -g $CIRCLE_NODE_INDEX -f 'test/*.test.js')
6060
else
61-
SUPERTOKENS_CORE_TAG=$coreTag INSTALL_PATH=../supertokens-root npm test
61+
TEST_MODE=testing SUPERTOKENS_CORE_TAG=$coreTag INSTALL_PATH=../supertokens-root npm test
6262
fi
6363

6464
if [[ $? -ne 0 ]]

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)