test(FN-4689): align sandbox wiring test with routine command signature
Fusion-Task-Id: FN-4689 Fusion-Task-Lineage: 3b856c6f-27b2-4a1c-bd6e-41e716bffd4d
This commit is contained in:
committed by
gsxdsm
parent
b2fb268bf8
commit
d885365fa9
@@ -112,7 +112,8 @@ describe("sandbox wiring", () => {
|
||||
rootDir: "/tmp/root",
|
||||
});
|
||||
|
||||
const result = await (runner as any).executeCommand("echo routine", 5000, new Date().toISOString());
|
||||
const routine = { id: "routine-1", agentId: "agent-1" } as any;
|
||||
const result = await (runner as any).executeCommand(routine, "echo routine", 5000, new Date().toISOString());
|
||||
expect(result.success).toBe(true);
|
||||
expect(run).toHaveBeenCalledWith("echo routine", {
|
||||
cwd: "/tmp/root",
|
||||
|
||||
Reference in New Issue
Block a user