From 845f4a2a55a98ec36f25f33f8ceef819aeaf1a2c Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Tue, 26 May 2026 03:54:01 +0100 Subject: [PATCH] test: update plugin prerelease expectations --- extensions/openai/openclaw.plugin.test.ts | 2 +- src/plugins/capability-provider-runtime.test.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/extensions/openai/openclaw.plugin.test.ts b/extensions/openai/openclaw.plugin.test.ts index df70998070e..32263108539 100644 --- a/extensions/openai/openclaw.plugin.test.ts +++ b/extensions/openai/openclaw.plugin.test.ts @@ -94,7 +94,7 @@ function expectWizardFields( describe("OpenAI plugin manifest", () => { it("keeps runtime dependencies in the package manifest", () => { expect(packageJson.devDependencies?.["@openclaw/plugin-sdk"]).toBe("workspace:*"); - expect(packageJson.dependencies?.ws).toBe("8.20.1"); + expect(packageJson.dependencies?.ws).toBe("8.21.0"); }); it("keeps removed Codex CLI import auth choice as a deprecated browser-login alias", () => { diff --git a/src/plugins/capability-provider-runtime.test.ts b/src/plugins/capability-provider-runtime.test.ts index 2ef3ea91c8e..12263439dfd 100644 --- a/src/plugins/capability-provider-runtime.test.ts +++ b/src/plugins/capability-provider-runtime.test.ts @@ -1148,7 +1148,7 @@ describe("resolvePluginCapabilityProviders", () => { }); }); - it("reuses manifest metadata while applying compat for each config snapshot", () => { + it("reuses manifest metadata while applying bundled compat", () => { const { cfg, enablementCompat } = createCompatChainConfig(); setBundledCapabilityFixture("mediaUnderstandingProviders"); mocks.withBundledPluginEnablementCompat.mockReturnValue(enablementCompat); @@ -1161,7 +1161,7 @@ describe("resolvePluginCapabilityProviders", () => { resolvePluginCapabilityProviders({ key: "mediaUnderstandingProviders", cfg }), ); - expect(mocks.loadPluginManifestRegistry).toHaveBeenCalledTimes(2); + expect(mocks.loadPluginManifestRegistry).toHaveBeenCalledTimes(1); }); it("reuses capability snapshot loads for the same config object", () => { @@ -1198,7 +1198,7 @@ describe("resolvePluginCapabilityProviders", () => { expect(snapshotLoads).toHaveLength(1); }); - it("reuses equivalent manifest metadata while applying compat per config object", () => { + it("reuses equivalent manifest metadata while applying bundled compat", () => { const first = createCompatChainConfig(); const second = createCompatChainConfig(); setBundledCapabilityFixture("mediaUnderstandingProviders"); @@ -1218,7 +1218,7 @@ describe("resolvePluginCapabilityProviders", () => { }), ); - expect(mocks.loadPluginManifestRegistry).toHaveBeenCalledTimes(2); + expect(mocks.loadPluginManifestRegistry).toHaveBeenCalledTimes(1); }); it("reuses a compatible active registry even when the capability list is empty", () => {