mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-11 09:11:13 +00:00
test: fix hook-alias runtime coverage after rebase (#61234)
This commit is contained in:
@@ -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"],
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user