Skip to content

Commit 795dfcb

Browse files
committed
Standardize coverage configuration
1 parent 30108cc commit 795dfcb

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.config/vitest.config.mts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default defineConfig({
3232
hookTimeout: 60_000,
3333
coverage: {
3434
provider: 'v8',
35-
reporter: ['text', 'json', 'html'],
35+
reporter: ['text', 'json', 'html', 'lcov', 'clover'],
3636
exclude: [
3737
'**/*.config.*',
3838
'**/node_modules/**',
@@ -45,8 +45,15 @@ export default defineConfig({
4545
'scripts/**',
4646
'test/**',
4747
'src/index.ts',
48+
'perf/**',
49+
// Explicit root-level exclusions
50+
'/scripts/**',
51+
'/test/**',
4852
],
4953
all: true,
54+
clean: true,
55+
skipFull: false,
56+
ignoreClassMethods: ['constructor'],
5057
thresholds: {
5158
branches: 100,
5259
functions: 100,

0 commit comments

Comments
 (0)