test: stabilize env-dependent tool defaults

This commit is contained in:
Peter Steinberger
2026-01-18 01:57:44 +00:00
parent 8013c4717c
commit 005b831023
2 changed files with 2 additions and 1 deletions

View File

@@ -91,7 +91,7 @@ describe("nodes run", () => {
it("passes invoke and command timeouts", async () => {
callGateway.mockImplementation(async ({ method, params }) => {
if (method === "node.list") {
return { nodes: [{ nodeId: "mac-1" }] };
return { nodes: [{ nodeId: "mac-1", commands: ["system.run"] }] };
}
if (method === "node.invoke") {
expect(params).toMatchObject({