Skip to content

Commit

Permalink
tweaks for vitest config
Browse files Browse the repository at this point in the history
  • Loading branch information
TateB committed Apr 4, 2024
1 parent 6cd16f1 commit d5bdd2f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
tsconfig.tsbuildinfo
tsconfig.vitest-temp.json

# local env files
.env.local
Expand Down
4 changes: 4 additions & 0 deletions vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ export default defineConfig({
globalSetup: ['./test/global-setup.mts'],
coverage: {
provider: 'v8',
include: ['src/**/*'],
},
typecheck: {
ignoreSourceErrors: true,
},
environmentMatchGlobs: [['**/*.node.test.ts', 'node']],
deps: {
Expand Down

0 comments on commit d5bdd2f

Please sign in to comment.