test: update plugin prerelease expectations

This commit is contained in:
Peter Steinberger
2026-05-26 03:54:01 +01:00
parent 894fd42e63
commit 845f4a2a55
2 changed files with 5 additions and 5 deletions

View File

@@ -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", () => {

View File

@@ -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", () => {