test(pty): cover fenced relay shutdown

This commit is contained in:
Merge Sim
2026-08-31 12:51:09 -07:00
parent b289903373
commit cc5c439e97
@@ -124,7 +124,7 @@ describe('PtyHandler retires a closed pane surface', () => {
id,
expectedIncarnationId: 'different-incarnation'
})
).rejects.toThrow('PTY incarnation mismatch')
).resolves.toEqual({ fenceUnavailable: true })
expect(term.kill).not.toHaveBeenCalled()
expect(handler.isPaneSurfaceRetired(PANE_KEY)).toBe(false)