8000 test: enable gc tests by ferferga · Pull Request #13272 · vuejs/core · GitHub
[go: up one dir, main page]

Skip to content

test: enable gc tests #13272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: enable gc tests
reactivity/gc tests were being skipped because vitest was running without gc exposed
  • Loading branch information
ferferga authored May 3, 2025
commit 23171d03c0a8d85f59644c92f68d1805534024d7
7 changes: 6 additions & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ export default defineConfig({
},
test: {
globals: true,
pool: 'threads',
pool: 'forks',
poolOptions: {
forks: {
execArgv: ['--expose-gc'],
},
},
setupFiles: 'scripts/setup-vitest.ts',
environmentMatchGlobs: [
['packages/{vue,vue-compat,runtime-dom}/**', 'jsdom'],
Expand Down
Loading
0