-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add fixes to properly store the test results through junit
- Loading branch information
1 parent
978615f
commit fa2adcc
Showing
2 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,6 +107,7 @@ git clone [email protected]:supertokens/backend-sdk-testing.git | |
cd backend-sdk-testing | ||
git checkout $frontendDriverVersion | ||
npm install | ||
npm i mocha-multi | ||
npm run build | ||
|
||
export API_PORT=$API_PORT | ||
|
@@ -116,7 +117,7 @@ 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 -r test/fetch-polyfill.mjs --timeout 500000 --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 -r test/fetch-polyfill.mjs --timeout 500000 --no-config" --verbose --split-by=timings | ||
|
||
# kill test-server | ||
kill $(lsof -t -i:$API_PORT) |