Skip to content

Commit 6dd7d22

Browse files
author
km-kwon
committed
fix: resolve jsdom initialization issues in CI by using fork pool
1 parent e152a75 commit 6dd7d22

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

vitest.config.mts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ export default defineConfig({
77
environment: "jsdom",
88
setupFiles: "./__test__/setup.ts",
99
include: ["__test__/**/*.test.{ts,tsx}"],
10+
pool: "forks",
11+
poolOptions: {
12+
forks: {
13+
singleFork: true,
14+
},
15+
},
1016
coverage: {
1117
provider: "v8",
1218
reporter: ["text", "json", "html"],

0 commit comments

Comments
 (0)