test(desktop): keep Bun on OpenClaw fixture PATH

This commit is contained in:
tianma-if committed 2026-10-01 12:56:48 +08:00
1 parent e20be51b6e
commit 5f1c14d389
1 file changed
+1 -1
+1 -1
View File
@@ -654,7 +654,7 @@ describe("ACP stdio session", () => {
const executable = path.join(directory, "openclaw");
await writeFile(executable, await readFile(scriptPath), { mode: 0o755 });
const runtime = createAcpHostRuntime({
pathEnv: directory,
pathEnv: `${directory}${path.delimiter}${path.dirname(process.execPath)}`,
home: directory,
mcpAccess: () => { throw new Error("OpenClaw must use Gateway MCP configuration"); },
});