From e6a1ac069ff0dd85a182db64ad336e34ced89428 Mon Sep 17 00:00:00 2001 From: Brennan Benson <79079362+brennanb2025@users.noreply.github.com> Date: Sun, 4 Oct 2026 16:39:20 -0700 Subject: [PATCH] test(native-chat): keep the doubt case in the tone test a real doubt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .../structured-agent-session-delivery-notices-tone.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/components/native-chat/structured-agent-session-delivery-notices-tone.test.ts b/src/renderer/src/components/native-chat/structured-agent-session-delivery-notices-tone.test.ts index 083cf088095..3ec5a31740a 100644 --- a/src/renderer/src/components/native-chat/structured-agent-session-delivery-notices-tone.test.ts +++ b/src/renderer/src/components/native-chat/structured-agent-session-delivery-notices-tone.test.ts @@ -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' }