mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-03 13:40:34 +00:00
fix(test): clean up vitest child process groups
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user