Repository navigation
Commit 3fc96de
test(ui): stop mocking recovery on a RevertSession response
Only GetSession returns `recovery`, so a revert response carries none.
The revert test still mocked one and asserted that the client mapped it,
which pinned a response the server cannot send.
The revert test now expects no `recovery`. Its failed-message mapping
assertion moves to a GetSession test, which is the response that
carries those references.
Verified on Node 24: `tsc --noEmit`, eslint, and
`vitest run src/components/chat src/pages src/api` pass.
Signed-off-by: Ada Lundhe <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 40e3702 commit 3fc96de
1 file changed
Lines changed: 17 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
994 | 994 | | |
995 | 995 | | |
996 | 996 | | |
997 | | - | |
| 997 | + | |
998 | 998 | | |
999 | 999 | | |
1000 | 1000 | | |
1001 | 1001 | | |
1002 | 1002 | | |
1003 | | - | |
1004 | | - | |
1005 | | - | |
1006 | | - | |
1007 | | - | |
1008 | | - | |
| 1003 | + | |
| 1004 | + | |
1009 | 1005 | | |
1010 | 1006 | | |
1011 | 1007 | | |
1012 | 1008 | | |
1013 | 1009 | | |
1014 | 1010 | | |
1015 | | - | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
1016 | 1025 | | |
1017 | 1026 | | |
1018 | 1027 | | |
| |||
0 commit comments