Skip to content

Commit 8d814cf

Browse files
committed
test: add coverage config
1 parent a0dea7c commit 8d814cf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

vite.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,10 @@ export default defineConfig({
77
'magic-regexp': fileURLToPath(new URL('./src/index.ts', import.meta.url).href),
88
},
99
},
10+
test: {
11+
coverage: {
12+
include: ['src'],
13+
reporter: ['text', 'json', 'html'],
14+
},
15+
},
1016
})

0 commit comments

Comments
 (0)