test: remove unused gateway startup shim

This commit is contained in:
Peter Steinberger
2026-05-04 05:27:41 +01:00
parent 71c7232764
commit 472763238d
2 changed files with 3 additions and 9 deletions

View File

@@ -36,14 +36,14 @@ vi.mock("../agents/pi-embedded-runner/runtime.js", () => ({
resolveEmbeddedAgentRuntime: () => resolveEmbeddedAgentRuntimeMock(),
}));
let prewarmConfiguredPrimaryModel: typeof import("./server-startup.js").__testing.prewarmConfiguredPrimaryModel;
let shouldSkipStartupModelPrewarm: typeof import("./server-startup.js").__testing.shouldSkipStartupModelPrewarm;
let prewarmConfiguredPrimaryModel: typeof import("./server-startup-post-attach.js").__testing.prewarmConfiguredPrimaryModel;
let shouldSkipStartupModelPrewarm: typeof import("./server-startup-post-attach.js").__testing.shouldSkipStartupModelPrewarm;
describe("gateway startup primary model warmup", () => {
beforeAll(async () => {
({
__testing: { prewarmConfiguredPrimaryModel, shouldSkipStartupModelPrewarm },
} = await import("./server-startup.js"));
} = await import("./server-startup-post-attach.js"));
});
beforeEach(() => {

View File

@@ -1,6 +0,0 @@
export { startGatewayEarlyRuntime, startGatewayPluginDiscovery } from "./server-startup-early.js";
export {
__testing,
startGatewayPostAttachRuntime,
startGatewaySidecars,
} from "./server-startup-post-attach.js";