Skip to content

Commit 78cf5e9

Browse files
committed
collect test coverage
1 parent b781a45 commit 78cf5e9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/test.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ jobs:
1818
version: latest
1919
run_install: true
2020

21-
- run: pnpm test -- --coverage
22-
env:
23-
NODE_OPTIONS: --experimental-vm-modules
21+
- run: pnpm test -- --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info
2422

2523
- run: pnpm run type-coverage
2624

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"scripts": {
2929
"lint": "eslint --fix .",
30-
"test": "jest",
30+
"test": "node --import ts-directly/register --test",
3131
"type-coverage": "type-coverage"
3232
},
3333
"dependencies": {

0 commit comments

Comments
 (0)