Tests: remove stale runtime state setup

This commit is contained in:
Gustavo Madeira Santana
2026-03-28 00:24:12 -04:00
parent cdf19111e5
commit 286d6b388f
4 changed files with 1 additions and 50 deletions

View File

@@ -45,23 +45,4 @@ describe("ensureRuntimePluginsLoaded", () => {
},
});
});
it("reloads when the current active registry is incompatible with the request", async () => {
const { ensureRuntimePluginsLoaded } = await import("./runtime-plugins.js");
ensureRuntimePluginsLoaded({
config: {} as never,
workspaceDir: "/tmp/workspace",
allowGatewaySubagentBinding: true,
});
expect(hoisted.resolveRuntimePluginRegistry).toHaveBeenCalledWith({
config: {} as never,
workspaceDir: "/tmp/workspace",
runtimeOptions: {
allowGatewaySubagentBinding: true,
},
});
expect(hoisted.resolveRuntimePluginRegistry).toHaveBeenCalledTimes(1);
});
});