Skip to content

Commit 7a5452d

Browse files
committed
fix: jest?
1 parent 5b569f8 commit 7a5452d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ jobs:
207207
command: |
208208
TEST=$(circleci tests glob "test/windows/**/*.spec.ts" | circleci tests split --split-by=timings | sed 's#\\\\#/#g')
209209
echo "TEST: $TEST"
210-
npm run test-jest-windows -- $TEST
210+
npm run test-jest-windows -- $TEST --reporters=default --reporters=jest-junit
211211
environment:
212212
JEST_JUNIT_OUTPUT_DIR: './reports/junit'
213213
JEST_JUNIT_ADD_FILE_ATTRIBUTE: 'true' # We need this to make --split-by=timings work
@@ -231,7 +231,7 @@ jobs:
231231
name: Run Windows tests in parallel
232232
command: |
233233
TEST=$(circleci tests glob "test/windows/**/*.spec.ts" | circleci tests split --split-by=timings | sed 's#\\\\#/#g')
234-
npm run test-jest-windows -- $TEST
234+
npm run test-jest-windows -- $TEST --reporters=default --reporters=jest-junit
235235
environment:
236236
JEST_JUNIT_OUTPUT_DIR: './reports/junit'
237237
JEST_JUNIT_ADD_FILE_ATTRIBUTE: 'true' # We need this to make --split-by=timings work

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"format": "prettier --loglevel warn --write '{lib,test}/**/*.ts' && tslint --fix --format stylish '{lib,test}/**/*.ts'",
2222
"test": "npm run test-jest",
2323
"test-jest": "jest --ci --maxWorkers=3 --logHeapUsage --colors",
24-
"test-jest-windows": "jest --ci --maxWorkers=50% --config test/windows/jest.config.js --logHeapUsage --reporters=default --reporters=jest-junit",
24+
"test-jest-windows": "jest --ci --maxWorkers=50% --config test/windows/jest.config.js --logHeapUsage --verbose",
2525
"prepare": "npm run build"
2626
},
2727
"engines": {

0 commit comments

Comments
 (0)