mirror of
https://github.com/stablyai/orca.git
synced 2026-10-02 00:02:05 +00:00
test(pty): cover fenced relay shutdown
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user