Skip to content

Commit

Permalink
🔧 chore: update vitest config to add coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Aug 14, 2023
1 parent 0337d1f commit 223cc2e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ export default defineConfig({
alias: {
'@': resolve(__dirname, './src'),
},
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'lcov', 'text-summary'],
},
environment: 'jsdom',
globals: true,
},
Expand Down

0 comments on commit 223cc2e

Please sign in to comment.