Skip to content

Commit

Permalink
Modify vite config to output an lcov.info for vscode extension #1379
Browse files Browse the repository at this point in the history
  • Loading branch information
joelvdavies committed Apr 3, 2024
1 parent a91c2d0 commit fec13e4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,15 @@ export default defineConfig(({ mode }) => {
environment: 'jsdom',
setupFiles: ['src/setupTests.ts'],
coverage: {
reporter: [
// Default
'text',
'html',
'clover',
'json',
// Extra for VSCode extension
['lcov', { outputFile: 'lcov.info', silent: true }],
],
exclude: [
'public/*',
'server/*',
Expand Down

0 comments on commit fec13e4

Please sign in to comment.