Skip to content

Commit

Permalink
chore: update config
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarogfn committed May 12, 2024
1 parent 0856e38 commit 9e420e8
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,18 @@ export default defineConfig({
environment: 'jsdom',
globals: true,
root: resolve(__dirname, ''),
reporters: ['lcov', 'json', 'html', 'json-summary'],
coverage: {
include: ['src/**/*.js'],
exclude: ['src/**/*.spec.js'],
reportOnFailure: true,
thresholds: {
lines: '0',
statements: '0',
branches: '0',
functions: '0',
},
reporter: ['text', 'lcov', 'html', 'json', 'json-summary'],
},
include: ['src/**/*.spec.js'],
setupFiles: ['src/__tests__/setup.js'],
},
Expand Down

0 comments on commit 9e420e8

Please sign in to comment.