Skip to content

Commit 471782d

Browse files
author
Liuhaoran Huang
committed
try add lcov
1 parent 389572e commit 471782d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.circleci/config.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ jobs: # a collection of steps
2828
# Upload test summary for display in Artifacts: https://circleci.com/docs/2.0/artifacts/
2929
path: reports/junit
3030
- store_artifacts: # for display in Artifacts: https://circleci.com/docs/2.0/artifacts/
31-
path: ./coverage/lcov.info
32-
prefix: coverage
31+
path: coverage
3332
- store_test_results: # for display in Test Summary: https://circleci.com/docs/2.0/collect-test-data/
3433
path: reports/junit
3534
# See https://circleci.com/docs/2.0/deployment-integrations/ for deploy examples

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"scripts": {
1212
"start": "tsdx watch",
1313
"build": "tsdx build",
14-
"test": "tsdx test --env=jsdom --runInBand --reporters=default --reporters=jest-junit"
14+
"test": "tsdx test --env=jsdom --runInBand --reporters=default --reporters=jest-junit --collectCoverage=true"
1515
},
1616
"jest": {
1717
"setupFilesAfterEnv": [

0 commit comments

Comments
 (0)