mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 20:40:23 +00:00
test: update outbound gateway client fixture values
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
import { beforeEach, describe, expect, it, vi } from "vitest";
|
import { beforeEach, describe, expect, it, vi } from "vitest";
|
||||||
|
import { GATEWAY_CLIENT_MODES, GATEWAY_CLIENT_NAMES } from "../../utils/message-channel.js";
|
||||||
|
|
||||||
const mocks = vi.hoisted(() => ({
|
const mocks = vi.hoisted(() => ({
|
||||||
getDefaultMediaLocalRoots: vi.fn(() => []),
|
getDefaultMediaLocalRoots: vi.fn(() => []),
|
||||||
@@ -204,8 +205,8 @@ describe("executeSendAction", () => {
|
|||||||
url: "http://127.0.0.1:18789",
|
url: "http://127.0.0.1:18789",
|
||||||
token: "tok",
|
token: "tok",
|
||||||
timeoutMs: 5000,
|
timeoutMs: 5000,
|
||||||
clientName: "gateway",
|
clientName: GATEWAY_CLIENT_NAMES.GATEWAY_CLIENT,
|
||||||
mode: "gateway",
|
mode: GATEWAY_CLIENT_MODES.BACKEND,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
to: "channel:123",
|
to: "channel:123",
|
||||||
@@ -296,8 +297,8 @@ describe("executeSendAction", () => {
|
|||||||
url: "http://127.0.0.1:18789",
|
url: "http://127.0.0.1:18789",
|
||||||
token: "tok",
|
token: "tok",
|
||||||
timeoutMs: 5000,
|
timeoutMs: 5000,
|
||||||
clientName: "gateway",
|
clientName: GATEWAY_CLIENT_NAMES.GATEWAY_CLIENT,
|
||||||
mode: "gateway",
|
mode: GATEWAY_CLIENT_MODES.BACKEND,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
to: "channel:123",
|
to: "channel:123",
|
||||||
|
|||||||
Reference in New Issue
Block a user