mirror of
https://github.com/stablyai/orca.git
synced 2026-10-01 00:02:10 +00:00
test(claude): expect typed cancellation in queued-send settlements (#23675)
This commit is contained in:
@@ -91,7 +91,8 @@ describe('cancelClaudeTurn', () => {
|
||||
{
|
||||
clientMessageId: 'client-1',
|
||||
state: 'rejected',
|
||||
reason: 'provider_cancelled_before_start'
|
||||
reason: 'provider_cancelled_before_start',
|
||||
rejection: { kind: 'cancelled' }
|
||||
}
|
||||
]
|
||||
])
|
||||
|
||||
@@ -136,7 +136,8 @@ const WITHDRAWN = [
|
||||
sessionId: 'session-1',
|
||||
clientMessageId: 'client-b',
|
||||
state: 'rejected',
|
||||
reason: DISPATCH_REJECTED_CANCELLED
|
||||
reason: DISPATCH_REJECTED_CANCELLED,
|
||||
rejection: { kind: 'cancelled' }
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
@@ -375,7 +375,8 @@ describe.skipIf(!realClaudeAvailable)('Claude structured real CLI handshake', ()
|
||||
sessionId: 'real-cli-handshake',
|
||||
clientMessageId: 'real-cli-queued-stop-b',
|
||||
state: 'rejected',
|
||||
reason: 'provider_cancelled_before_start'
|
||||
reason: 'provider_cancelled_before_start',
|
||||
rejection: { kind: 'cancelled' }
|
||||
})
|
||||
} finally {
|
||||
await adapter.closeAll()
|
||||
|
||||
Reference in New Issue
Block a user