mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:00:43 +00:00
test: remove unused gateway startup shim
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
export { startGatewayEarlyRuntime, startGatewayPluginDiscovery } from "./server-startup-early.js";
|
||||
export {
|
||||
__testing,
|
||||
startGatewayPostAttachRuntime,
|
||||
startGatewaySidecars,
|
||||
} from "./server-startup-post-attach.js";
|
||||
Reference in New Issue
Block a user