Skip to content

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

Train T1 (#7374 x #7370): the roster test's moved bot is one that has moved

milind-soni40f3894fa922
diff --git a/server/host/linked-roster.test.ts b/server/host/linked-roster.test.ts
index a9d211cec4..40e1f311fa 100644
--- a/server/host/linked-roster.test.ts
+++ b/server/host/linked-roster.test.ts
@@ -202,7 +202,7 @@ describe("what a place tells the other of its bots", () => {
it("a bot that takes no work now crosses as paused and the other place leaves it out; hidden and moved bots never cross", () => {
const cloudBots: Bot[] = [{ id: "cloud-mausbot", name: "MausBot", chiefOfStaff: true }, { id: "sleepy", name: "Sleepy" },
- { id: "gone", name: "Gone", hidden: true }, { id: "moved", name: "Moved", movedTo: { place: "x" } }, { id: "helper", name: "Helper" }];
+ { id: "gone", name: "Gone", hidden: true }, { id: "moved", name: "Moved", movedTo: { team: { id: "x", name: "X" }, state: "moved" } }, { id: "helper", name: "Helper" }];
const cloud = linkOver(cloudBots, new Set(["sleepy"]));
const macBots: Bot[] = [{ id: "chief", name: "MausBot", chiefOfStaff: true }];
const macLink = linkOver(macBots, new Set());