diff --git a/apps/api/tests/lib/pushCoalescer.test.ts b/apps/api/tests/lib/pushCoalescer.test.ts index dbee525..15276a1 100644 --- a/apps/api/tests/lib/pushCoalescer.test.ts +++ b/apps/api/tests/lib/pushCoalescer.test.ts @@ -40,6 +40,7 @@ describe('pushCoalescer — list-change burst coalescing (D-01)', () => { expect(dispatch).toHaveBeenCalledTimes(1) const [calledListId, calledActorId, calledCount] = dispatch.mock.calls[0] expect(calledListId).toBe(listId) + expect(calledActorId).toBe(actorId) expect(calledCount).toBe(N) })