From 476f367cf16081acd144048ee61198e58d15df21 Mon Sep 17 00:00:00 2001 From: Tyler Yust Date: Sun, 1 Feb 2026 17:19:16 -0800 Subject: [PATCH] Gateway: avoid writing host config in tools invoke test --- src/gateway/tools-invoke-http.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gateway/tools-invoke-http.test.ts b/src/gateway/tools-invoke-http.test.ts index d24654d917..010a50510b 100644 --- a/src/gateway/tools-invoke-http.test.ts +++ b/src/gateway/tools-invoke-http.test.ts @@ -2,7 +2,6 @@ import type { IncomingMessage, ServerResponse } from "node:http"; import { promises as fs } from "node:fs"; import path from "node:path"; import { beforeEach, describe, expect, it, vi } from "vitest"; -import { CONFIG_PATH } from "../config/config.js"; import { createTestRegistry } from "../test-utils/channel-plugins.js"; import { resetTestPluginRegistry, setTestPluginRegistry, testState } from "./test-helpers.mocks.js"; import { installGatewayTestHooks, getFreePort, startGatewayServer } from "./test-helpers.server.js"; @@ -91,6 +90,7 @@ describe("POST /tools/invoke", () => { list: [{ id: "main" }], } as any; + const { CONFIG_PATH } = await import("../config/config.js"); await fs.mkdir(path.dirname(CONFIG_PATH), { recursive: true }); await fs.writeFile( CONFIG_PATH,