Skip to content

Commit

Permalink
[conf] update vitest code coverage exclude as per changes in v2
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhyde committed Jul 18, 2024
1 parent f429448 commit f7aa0a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import tsconfigPaths from 'vite-tsconfig-paths'
import { defineConfig } from 'vitest/config'
import { coverageConfigDefaults, defineConfig } from 'vitest/config'

export default defineConfig({
test: {
exclude: ['build', 'node_modules'],
coverage: {
exclude: ['build', ...coverageConfigDefaults.exclude],
provider: 'v8'
},
testTimeout: 30000
Expand Down

0 comments on commit f7aa0a2

Please sign in to comment.