From d985f44124ad3afd8ee1ccafb34b7a38c40f05ad Mon Sep 17 00:00:00 2001 From: mektpoy Date: Thu, 22 Oct 2026 15:08:11 +0800 Subject: [PATCH] chore(ui-chat): correct the branch-rejection test comment A rejected branch leaves the source view unchanged, as master does; the old comment described the removed notice. --- packages/client/ui-chat/tests/apply-inject.client.spec.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/ui-chat/tests/apply-inject.client.spec.tsx b/packages/client/ui-chat/tests/apply-inject.client.spec.tsx index 660f369e04..5c3b9d62c2 100644 --- a/packages/client/ui-chat/tests/apply-inject.client.spec.tsx +++ b/packages/client/ui-chat/tests/apply-inject.client.spec.tsx @@ -286,7 +286,7 @@ describe('Chat inject API', () => { ]) injected.forkAt(17) expect(track).toHaveBeenLastCalledWith('branch_session_click', { session_id: ROOT, parent_session_id: ROOT, parent_message_id: 'reply', click_position: 'footer' }) - // A rejected branch is reported on this Session's composer; the page adds no retry of its own. + // A rejected branch leaves the source view unchanged, as on master; the page adds no retry. vi.spyOn(b.uiWorkspace, 'forkSession').mockRejectedValueOnce(new Error('fork failed')) injected.forkAt(18) await vi.waitFor(() => {