Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Name what the npx join test waits for when it fails

AdityaUmalef6d82cfdfc57
diff --git a/server/drivers/chat-mcp-tools.test.ts b/server/drivers/chat-mcp-tools.test.ts
index 78fa76ac13..ff176d2676 100644
--- a/server/drivers/chat-mcp-tools.test.ts
+++ b/server/drivers/chat-mcp-tools.test.ts
@@ -1222,7 +1222,7 @@ describe("Chat MCP startup budgets", () => {
lines = await joinLateChatTools(session, []);
await new Promise((resolve) => setImmediate(resolve));
}
- expect(lines).toEqual([]);
+ expect(lines, "the npx server never joined the turn within 15 s").toEqual([]);
expect(session.skipped).toEqual([]);
expect(session.definitions.map((definition) => definition.function.name)).toEqual(["agents_write", "gitlab_write"]);
} finally { vi.useRealTimers(); }