Skip to content

Commit 5d01636

Browse files
committed
ci: configure coverage
Signed-off-by: Andres Correa Casablanca <castarco@coderspirit.xyz>
1 parent 593f264 commit 5d01636

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

vitest.config.mts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// eslint-disable-next-line import/no-unresolved
2+
import { defineConfig } from 'vitest/config'
3+
4+
export default defineConfig({
5+
test: {
6+
coverage: {
7+
include: ['src/*.{ts,tsx}'],
8+
exclude: ['src/**/*.test.{ts,tsx}', 'src/stories/**/*'],
9+
thresholdAutoUpdate: true,
10+
branches: 100,
11+
lines: 100,
12+
functions: 100,
13+
statements: 100,
14+
},
15+
},
16+
})

0 commit comments

Comments
 (0)