mirror of
https://github.com/stablyai/orca.git
synced 2026-10-07 08:02:21 +00:00
test(native-chat): keep the doubt case in the tone test a real doubt
Since "Sending…" landed, an unconfirmed entry the probe still resends reads as sending, so the case no longer tested the doubt tone. It is now one the user already retried, as main's notices test does.
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ describe('the tone of a delivery line', () => {
|
||||
it('marks as not sent only words that say the message did not go out', () => {
|
||||
const notices = structuredAgentSessionDeliveryNotices(
|
||||
[
|
||||
entry('doubt', { state: 'unconfirmed' }),
|
||||
entry('doubt', { state: 'unconfirmed', retryAfterUnknownSubmittedAt: -1 }),
|
||||
entry('expired', {
|
||||
lastAttemptAt: 1,
|
||||
lastFailure: { kind: 'refused', code: 'agent_session_operation_expired' }
|
||||
|
||||
Reference in New Issue
Block a user