mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-30 08:51:40 +00:00
test(ui): cover abort formatter openclaw#45512 thanks @sallyom
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user