Skip to content

Commit e692a46

Browse files
separate forks
1 parent 761bdfa commit e692a46

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/vite-plugin-cloudflare/playground/vitest.config.e2e.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ const debuglog = util.debuglog("@cloudflare:vite-plugin");
55

66
export default defineConfig({
77
test: {
8-
// We run these tests in a single fork to avoid them running in parallel.
9-
// Otherwise we occasionally get flakes where two tests are overwriting
10-
// the same output files.
11-
poolOptions: { forks: { singleFork: true } },
8+
// We run these tests one file at a time.
9+
// Otherwise we occasionally get flakes where two playground variants are overwriting the same files.
1210
fileParallelism: false,
1311
include: ["./**/__tests__/**/*.spec.[tj]s"],
1412
setupFiles: ["./vitest-setup.ts"],

0 commit comments

Comments
 (0)