From 889013543004bbae72931327f79257a8ff97a3e5 Mon Sep 17 00:00:00 2001 From: Deepjyoti Barman Date: Tue, 3 Dec 2024 17:22:56 +0530 Subject: [PATCH] Fix mocha tests with free core --- .circleci/setupAndTestWithFreeCore.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/setupAndTestWithFreeCore.sh b/.circleci/setupAndTestWithFreeCore.sh index a03963f19..41c23bd1c 100755 --- a/.circleci/setupAndTestWithFreeCore.sh +++ b/.circleci/setupAndTestWithFreeCore.sh @@ -85,6 +85,7 @@ cd ../ echo $SUPERTOKENS_API_KEY > apiPassword ./utils/setupTestEnvLocal cd ../project/ +npm i mocha-multi # Set the script to exit on error set -e @@ -95,4 +96,4 @@ export NODE_PORT=8081 export INSTALL_PATH=../supertokens-root TEST_FILES=$(circleci tests glob "test/**/*.test.js") -echo "$TEST_FILES" | circleci tests run --command="xargs npx mocha mocha --node-option no-experimental-fetch --timeout 40000 --no-config" --verbose --split-by=timings +multi="spec=- mocha-junit-reporter=/dev/null" echo "$TEST_FILES" | circleci tests run --command="xargs npx mocha mocha --reporter mocha-multi --node-option no-experimental-fetch --timeout 40000 --no-config" --verbose --split-by=timings