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.
This commit is contained in:
1 parent
3bcb22f732
commit
d985f44124
1 file changed
+1
-1
@@ -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(() => {
|
||||
|
||||
Reference in new issue
Block a user