fix(test): clean up vitest child process groups

This commit is contained in:
Vincent Koc
2026-04-06 18:08:58 +01:00
parent a22e44f259
commit 8301ddfa84
8 changed files with 217 additions and 3 deletions

View File

@@ -94,6 +94,8 @@ describe("resolvePnpmRunner", () => {
const env = { PATH: "/custom/bin", FOO: "bar" };
expect(
createPnpmRunnerSpawnSpec({
cwd: "/repo",
detached: true,
npmExecPath: "",
pnpmArgs: ["exec", "vitest", "run"],
platform: "linux",
@@ -103,6 +105,8 @@ describe("resolvePnpmRunner", () => {
command: "pnpm",
args: ["exec", "vitest", "run"],
options: {
cwd: "/repo",
detached: true,
stdio: "inherit",
env,
shell: false,