Skip to content

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

#6149: room-jobs test uses the coordinator's current active() shape

milind-soni5e7b924f0849
diff --git a/server/host/room-jobs.test.ts b/server/host/room-jobs.test.ts
index 83d590cf8f..ecc2dbc66c 100644
--- a/server/host/room-jobs.test.ts
+++ b/server/host/room-jobs.test.ts
@@ -23,7 +23,7 @@ describe("laneBulletin", () => {
};
const store = { groupByThread: (threadId: string) => rooms[threadId] } as unknown as Store;
const lanes: Record<string, string> = { lane: "room-thread", "quiet-lane": "quiet-thread" };
- const { laneBulletin } = createRoomJobs({ store, coordinator: { all: () => [] }, cfg: {} as AppConfig,
+ const { laneBulletin } = createRoomJobs({ store, coordinator: { active: () => [] }, cfg: {} as AppConfig,
operations: () => [], speakerOf: () => undefined, laneRoomThread: n => lanes[n.threadId] });
it("carries the room's bulletin into a job running beside it", () => {