Skip to content

Commit

Permalink
Excluding main.tsx from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
fdodino committed Oct 23, 2024
1 parent 8af9b8a commit 2d868c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ export default defineConfig({
environment: 'jsdom',
coverage: {
reporter: ['lcov', 'json', 'html', 'json-summary'],
exclude: [ './src/main.tsx' ],
},
exclude: [...configDefaults.exclude, '**/main.tsx'],
exclude: [...configDefaults.exclude, './src/main.tsx'],
}
})

0 comments on commit 2d868c3

Please sign in to comment.