fix: allow windows spawn in test parallel
This commit is contained in:
parent
a01d5aa9a7
commit
df8da7b88e
@ -20,6 +20,7 @@ const run = (entry) =>
|
|||||||
const child = spawn(pnpm, entry.args, {
|
const child = spawn(pnpm, entry.args, {
|
||||||
stdio: "inherit",
|
stdio: "inherit",
|
||||||
env: { ...process.env, VITEST_GROUP: entry.name },
|
env: { ...process.env, VITEST_GROUP: entry.name },
|
||||||
|
shell: process.platform === "win32",
|
||||||
});
|
});
|
||||||
children.add(child);
|
children.add(child);
|
||||||
child.on("exit", (code, signal) => {
|
child.on("exit", (code, signal) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user