Skip to content

Commit

Permalink
chore: bump vitest + use threads
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Feb 21, 2023
1 parent 34ad609 commit f597dc6
Show file tree
Hide file tree
Showing 3 changed files with 114 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,6 @@
"tslib": "^2.4.0",
"typescript": "^4.9.0",
"vite": "^4.0.4",
"vitest": "^0.28.2"
"vitest": "^0.28.5"
}
}
115 changes: 113 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ export default defineConfig({
},
test: {
globals: true,
// if not using threads, Netlify goes OOM when generating coverage report
threads: process.env.NETLIFY ? true : false,
setupFiles: 'scripts/setupVitest.ts',
environmentMatchGlobs: [
['packages/{vue,vue-compat,runtime-dom}/**', 'jsdom']
Expand Down

0 comments on commit f597dc6

Please sign in to comment.