diff --git a/src/renderer/src/store/slices/worktrees-terminal-reference-admission.test.ts b/src/renderer/src/store/slices/worktrees-terminal-reference-admission.test.ts index 479b6df5d04..759568a95d5 100644 --- a/src/renderer/src/store/slices/worktrees-terminal-reference-admission.test.ts +++ b/src/renderer/src/store/slices/worktrees-terminal-reference-admission.test.ts @@ -196,4 +196,6 @@ it('deduplicates an observation while queued without collapsing different PR num expect(exactLookup).toHaveBeenCalledTimes(4) pending.get(103)?.resolve(null) await flush() + expect(exactLookup).toHaveBeenCalledTimes(4) + expect(exactLookup.mock.calls.filter(([args]) => args.number === 103)).toHaveLength(1) })