Skip to content

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

Inbox test: finished work counts for nobody, as main's For you count now says

milind-soni438953d11092
diff --git a/server/host/place-inbox.test.ts b/server/host/place-inbox.test.ts
index aa67268481..246b02e4ec 100644
--- a/server/host/place-inbox.test.ts
+++ b/server/host/place-inbox.test.ts
@@ -161,7 +161,7 @@ describe("finished work reaches the inbox once", () => {
f.inbox.route(summary, { summary: true });
const whole = vi.spyOn(f.store, "messagesFor");
expect(f.inbox.view(OWNER).rows[0]!.origin?.messageId).toBe(posted.id);
- expect(f.inbox.count(OWNER)).toBe(1);
+ expect(f.inbox.count(OWNER), "finished work waits on nobody").toBe(0);
expect(whole).not.toHaveBeenCalled();
});
});