test: update outbound gateway client fixture values

This commit is contained in:
Val Alexander
2026-03-13 16:32:37 -05:00
parent bbb6701b83
commit 268fdec2ce

View File

@@ -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",