mirror of https://github.com/openclaw/openclaw.git
test(ui): cover abort formatter openclaw#45512 thanks @sallyom
This commit is contained in:
parent
c27e3b8e0d
commit
83f3b36eb8
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue