Skip to content

Commit bb92f53

Browse files
committed
ci: fix test result reporting
1 parent 5f3d04d commit bb92f53

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.circleci/config_continue.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
- run: npm run size
3232
- store_test_results:
3333
path: ~/reports/
34+
when: always
3435
test-success:
3536
docker:
3637
- image: rishabhpoddar/supertokens_website_sdk_testing_node_16

TestingApp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"ios": "react-native run-ios",
88
"start": "react-native start",
99
"test": "npx jest test/*.spec.js --runInBand --silent=false",
10-
"test-ci": "npx jest --listTests test/*.spec.js | circleci tests run --command=\"JEST_JUNIT_ADD_FILE_ATTRIBUTE=true xargs npx jest --runInBand --\" --verbose --split-by=timings",
10+
"test-ci": "npx jest --listTests test/*.spec.js | circleci tests run --command=\"JEST_JUNIT_ADD_FILE_ATTRIBUTE=true xargs npx jest --ci --reporters=default --reporters=jest-junit --runInBand --\" --verbose --split-by=timings",
1111
"lint": "eslint ."
1212
},
1313
"dependencies": {

0 commit comments

Comments
 (0)