test(ui): cover abort formatter openclaw#45512 thanks @sallyom

This commit is contained in:
Val Alexander 2026-03-13 20:10:34 -05:00
parent c27e3b8e0d
commit 83f3b36eb8
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -576,6 +576,7 @@ describe("sendChatMessage", () => {
describe("abortChatRun", () => {
it("formats structured non-auth connect failures for chat abort", async () => {
// Abort now shares the same structured connect-error formatter as send.
const request = vi.fn().mockRejectedValue(
new GatewayRequestError({
code: "INVALID_REQUEST",