Skip to content

Commit c095795

Browse files
committed
fix(vitest): restore coverage thresholds to 90% for CI compliance
1 parent f98f90f commit c095795

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

vitest.config.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ export default defineConfig({
99
reporter: ['text', 'json', 'html', 'lcov'], // Added lcov reporter
1010
reportsDirectory: './coverage', // Explicitly set the output directory
1111
thresholds: {
12-
// Temporarily lowered thresholds to 85% to pass CI
13-
lines: 85,
14-
functions: 85,
15-
branches: 85,
16-
statements: 85,
12+
lines: 90,
13+
functions: 90,
14+
branches: 90,
15+
statements: 90,
1716
},
1817
include: ['src/**/*.ts'], // Restored include
1918
exclude: [
@@ -52,4 +51,4 @@ export default defineConfig({
5251
'**/*.bench.ts', // Added benchmark file exclusion
5352
],
5453
},
55-
});
54+
});

0 commit comments

Comments
 (0)