Skip to content

Commit ac3d745

Browse files
committed
feat: ✨ add coverage thresholds to vitest configuration
1 parent c1cec8b commit ac3d745

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

vitest.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ export default defineConfig({
1919
all: false,
2020
enabled: true,
2121
provider: 'v8',
22+
thresholds: {
23+
lines: 90,
24+
functions: 90,
25+
branches: 90,
26+
statements: 90,
27+
},
2228
reporter: ['text', 'json', 'html'],
2329
exclude: [
2430
'dist',

0 commit comments

Comments
 (0)