Skip to content

Commit d792d2a

Browse files
committed
chore: trying to see if in ci --coverage is automatic
1 parent 80a83bc commit d792d2a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"lint:fix": "biome check --write --organize-imports-enabled=true .",
1717
"test:lint": "biome check --organize-imports-enabled=true .",
1818
"test:typecheck": "tsc --noEmit",
19-
"test:unit": "vitest run --coverage",
19+
"test:unit": "vitest run",
2020
"test": "npm run test:lint && npm run test:typecheck && npm run test:unit"
2121
},
2222
"author": {

vitest.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export default defineConfig({
66
environment: 'node',
77
include: ['src/**/*.test.ts', 'src/**/test.ts'],
88
coverage: {
9+
provider: 'v8',
910
reporter: ['text', 'json', 'html', 'clover', 'lcov'],
1011
},
1112
},

0 commit comments

Comments
 (0)