Skip to content

Commit

Permalink
forgot that I moved the setup file to ts
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholas-codecov committed Sep 17, 2024
1 parent 307cdc1 commit fac7172
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions vitest.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,23 @@ const VitestConfig = defineConfig((config) => {
test: {
coverage: {
include: ['src/**/*'],
exclude: [],
exclude: [
'vitest.setup.ts',
'custom-testing-library.js',
'setupTestGlobal.js',
'setupTests.js',
'setupProxy.js',
'ts-override.d.ts',
'types.ts',
'vite-env.d.ts',
],
provider: 'v8',
reporters: [['text'], ['html', { outputFile: 'coverage/index.html' }]],
reportOnFailure: true,
},
globals: true,
environment: ['jsdom'],
setupFiles: './src/vitest.setup.js',
setupFiles: './src/vitest.setup.ts',
reporters: reporters,
include: ['src/**/*.test.*'],
exclude: [
Expand Down

0 comments on commit fac7172

Please sign in to comment.