From 1e76c87f478e381bc95d75868f1c30979c111d42 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 8 Oct 2026 04:01:01 -0700 Subject: [PATCH] Verify terminal reference deduplication after settlement --- .../store/slices/worktrees-terminal-reference-admission.test.ts | 2 ++ 1 file changed, 2 insertions(+) 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) })