Skip to content

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

Rooms: a busy room whose speaking engine cannot steer sends its line with no follow-up, as before

milind-soni04f50fedb210
diff --git a/src/components/send-key.test.ts b/src/components/send-key.test.ts
index 02d2dba920..17c2011658 100644
--- a/src/components/send-key.test.ts
+++ b/src/components/send-key.test.ts
@@ -380,6 +380,8 @@ describe("a message sent while a one-to-one bot works", () => {
render(createElement(Composer, { group: { ...room, busyBotId: "bot" }, members: [bot] }));
type(textarea(), "held");
press(textarea());
- expect(sends().at(-1)).toMatchObject({ type: "sendGroup", followUp: "queue" });
+ // A speaking engine that cannot steer: no follow-up at all, so the room queues the line as it always has.
+ expect(sends().at(-1)).toMatchObject({ type: "sendGroup", text: "held" });
+ expect(sends().at(-1)).not.toHaveProperty("followUp");
});
});