test: fix hook-alias runtime coverage after rebase (#61234)

This commit is contained in:
Peter Steinberger
2026-04-05 10:17:33 +01:00
parent 1fb0b4f557
commit b3d73b648b

View File

@@ -300,9 +300,7 @@ describe("provider-runtime", () => {
});
});
it("returns no runtime plugin when the provider has no owning plugin", () => {
it("matches providers by hook alias for runtime hook lookup", () => {
resolveOwningPluginIdsForProviderMock.mockReturnValue(["anthropic"]);
resolvePluginProvidersMock.mockReturnValue([
{
id: "anthropic",
@@ -315,7 +313,6 @@ describe("provider-runtime", () => {
expectProviderRuntimePluginLoad({
provider: "claude-cli",
expectedPluginId: "anthropic",
expectedOnlyPluginIds: ["anthropic"],
});
});