test(05-03): add actorId assertion in burst test — fix unused var lint warning
This commit is contained in:
@@ -40,6 +40,7 @@ describe('pushCoalescer — list-change burst coalescing (D-01)', () => {
|
|||||||
expect(dispatch).toHaveBeenCalledTimes(1)
|
expect(dispatch).toHaveBeenCalledTimes(1)
|
||||||
const [calledListId, calledActorId, calledCount] = dispatch.mock.calls[0]
|
const [calledListId, calledActorId, calledCount] = dispatch.mock.calls[0]
|
||||||
expect(calledListId).toBe(listId)
|
expect(calledListId).toBe(listId)
|
||||||
|
expect(calledActorId).toBe(actorId)
|
||||||
expect(calledCount).toBe(N)
|
expect(calledCount).toBe(N)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user