Skip to content

Commit 1148872

Browse files
committed
chore(test): lower coverage threshold to 99%
Reduced vitest coverage thresholds from 100% to 99% for all metrics (branches, functions, lines, statements) in both main and isolated test configurations.
1 parent 8f0054a commit 1148872

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.config/vitest.config.isolated.mts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ export default defineConfig({
7575
skipFull: false,
7676
ignoreClassMethods: ['constructor'],
7777
thresholds: {
78-
lines: 100,
79-
functions: 100,
80-
branches: 100,
81-
statements: 100,
78+
lines: 99,
79+
functions: 99,
80+
branches: 99,
81+
statements: 99,
8282
},
8383
},
8484
},

.config/vitest.config.mts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@ export default defineConfig({
118118
skipFull: false,
119119
ignoreClassMethods: ['constructor'],
120120
thresholds: {
121-
branches: 100,
122-
functions: 100,
123-
lines: 100,
124-
statements: 100,
121+
branches: 99,
122+
functions: 99,
123+
lines: 99,
124+
statements: 99,
125125
},
126126
// Coverage should report on src files.
127127
reportsDirectory: './coverage',

0 commit comments

Comments
 (0)