mirror of https://github.com/vuejs/core.git
test: enable gc tests
reactivity/gc tests were being skipped because vitest was running without gc exposed
This commit is contained in:
parent
0b23fd2383
commit
23171d03c0
|
@ -23,7 +23,12 @@ export default defineConfig({
|
||||||
},
|
},
|
||||||
test: {
|
test: {
|
||||||
globals: true,
|
globals: true,
|
||||||
pool: 'threads',
|
pool: 'forks',
|
||||||
|
poolOptions: {
|
||||||
|
forks: {
|
||||||
|
execArgv: ['--expose-gc'],
|
||||||
|
},
|
||||||
|
},
|
||||||
setupFiles: 'scripts/setup-vitest.ts',
|
setupFiles: 'scripts/setup-vitest.ts',
|
||||||
environmentMatchGlobs: [
|
environmentMatchGlobs: [
|
||||||
['packages/{vue,vue-compat,runtime-dom}/**', 'jsdom'],
|
['packages/{vue,vue-compat,runtime-dom}/**', 'jsdom'],
|
||||||
|
|
Loading…
Reference in New Issue