diff --git a/src/gateway/server-reload-handlers.test.ts b/src/gateway/server-reload-handlers.test.ts index a28a377a9ef8..4ca81900ca8b 100644 --- a/src/gateway/server-reload-handlers.test.ts +++ b/src/gateway/server-reload-handlers.test.ts @@ -159,6 +159,11 @@ vi.mock("../agents/agent-bundle-mcp-tools.js", () => ({ disposeAllSessionMcpRuntimes: hoisted.disposeAllSessionMcpRuntimes, })); +vi.mock("../plugins/installed-plugin-index-records.js", () => ({ + loadInstalledPluginIndexInstallRecords: vi.fn(async () => ({})), + loadInstalledPluginIndexInstallRecordsSync: vi.fn(() => ({})), +})); + vi.mock("./server-cron.js", async () => { const actual = await vi.importActual("./server-cron.js"); return {