fix: allow windows spawn in test parallel

This commit is contained in:
Peter Steinberger
2026-01-23 07:51:57 +00:00
parent 0c7e649676
commit 86e0916fa3

View File

@@ -20,6 +20,7 @@ const run = (entry) =>
const child = spawn(pnpm, entry.args, {
stdio: "inherit",
env: { ...process.env, VITEST_GROUP: entry.name },
shell: process.platform === "win32",
});
children.add(child);
child.on("exit", (code, signal) => {