Skip to content

Commit 5df43b3

Browse files
Andy YeAndy Ye
authored andcommitted
test: align stable plugin install expectations
1 parent 92fd80e commit 5df43b3

2 files changed

Lines changed: 19 additions & 19 deletions

File tree

src/commands/doctor/shared/missing-configured-plugin-install.test.ts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -354,13 +354,13 @@ describe("repairMissingConfiguredPluginInstalls", () => {
354354
expect(mocks.installPluginFromClawHub).not.toHaveBeenCalled();
355355
expect(mocks.installPluginFromNpmSpec).toHaveBeenCalledWith(
356356
expect.objectContaining({
357-
spec: "@openclaw/twitch@beta",
357+
spec: "@openclaw/twitch",
358358
expectedPluginId: "twitch",
359359
trustedSourceLinkedOfficialInstall: true,
360360
}),
361361
);
362362
expect(result.changes).toEqual([
363-
'Installed missing configured plugin "twitch" from @openclaw/twitch@beta.',
363+
'Installed missing configured plugin "twitch" from @openclaw/twitch.',
364364
]);
365365
});
366366

@@ -406,12 +406,12 @@ describe("repairMissingConfiguredPluginInstalls", () => {
406406
expect(mocks.installPluginFromClawHub).not.toHaveBeenCalled();
407407
expect(mocks.installPluginFromNpmSpec).toHaveBeenCalledWith(
408408
expect.objectContaining({
409-
spec: "@openclaw/diagnostics-otel@beta",
409+
spec: "@openclaw/diagnostics-otel",
410410
expectedPluginId: "diagnostics-otel",
411411
}),
412412
);
413413
expect(result.changes).toEqual([
414-
'Installed missing configured plugin "diagnostics-otel" from @openclaw/diagnostics-otel@beta.',
414+
'Installed missing configured plugin "diagnostics-otel" from @openclaw/diagnostics-otel.',
415415
]);
416416
});
417417

@@ -453,13 +453,13 @@ describe("repairMissingConfiguredPluginInstalls", () => {
453453

454454
expect(mocks.installPluginFromNpmSpec).toHaveBeenCalledWith(
455455
expect.objectContaining({
456-
spec: "@openclaw/acpx@beta",
456+
spec: "@openclaw/acpx",
457457
expectedPluginId: "acpx",
458458
trustedSourceLinkedOfficialInstall: true,
459459
}),
460460
);
461461
expect(result.changes).toEqual([
462-
'Installed missing configured plugin "acpx" from @openclaw/acpx@beta.',
462+
'Installed missing configured plugin "acpx" from @openclaw/acpx.',
463463
]);
464464
});
465465

@@ -1162,7 +1162,7 @@ describe("repairMissingConfiguredPluginInstalls", () => {
11621162
expect(mocks.resolveProviderInstallCatalogEntries).toHaveBeenCalled();
11631163
expect(mocks.installPluginFromNpmSpec).toHaveBeenCalledWith(
11641164
expect.objectContaining({
1165-
spec: "@openclaw/codex@beta",
1165+
spec: "@openclaw/codex",
11661166
expectedPluginId: "codex",
11671167
trustedSourceLinkedOfficialInstall: true,
11681168
}),
@@ -1179,7 +1179,7 @@ describe("repairMissingConfiguredPluginInstalls", () => {
11791179
{ env: {} },
11801180
);
11811181
expect(result.changes).toEqual([
1182-
'Installed missing configured plugin "codex" from @openclaw/codex@beta.',
1182+
'Installed missing configured plugin "codex" from @openclaw/codex.',
11831183
]);
11841184
expect(result.warnings).toStrictEqual([]);
11851185
});
@@ -1262,7 +1262,7 @@ describe("repairMissingConfiguredPluginInstalls", () => {
12621262

12631263
expect(mocks.installPluginFromNpmSpec).toHaveBeenCalledWith(
12641264
expect.objectContaining({
1265-
spec: "@openclaw/codex@beta",
1265+
spec: "@openclaw/codex",
12661266
expectedPluginId: "codex",
12671267
trustedSourceLinkedOfficialInstall: true,
12681268
}),
@@ -1279,7 +1279,7 @@ describe("repairMissingConfiguredPluginInstalls", () => {
12791279
{ env },
12801280
);
12811281
expect(result).toEqual({
1282-
changes: ['Installed missing configured plugin "codex" from @openclaw/codex@beta.'],
1282+
changes: ['Installed missing configured plugin "codex" from @openclaw/codex.'],
12831283
warnings: [],
12841284
});
12851285
});
@@ -1484,13 +1484,13 @@ describe("repairMissingConfiguredPluginInstalls", () => {
14841484

14851485
expect(mocks.installPluginFromNpmSpec).toHaveBeenCalledWith(
14861486
expect.objectContaining({
1487-
spec: "@openclaw/feishu@beta",
1487+
spec: "@openclaw/feishu",
14881488
expectedPluginId: "feishu",
14891489
trustedSourceLinkedOfficialInstall: true,
14901490
}),
14911491
);
14921492
expect(result.changes).toEqual([
1493-
'Installed missing configured plugin "feishu" from @openclaw/feishu@beta.',
1493+
'Installed missing configured plugin "feishu" from @openclaw/feishu.',
14941494
]);
14951495
});
14961496

@@ -1562,13 +1562,13 @@ describe("repairMissingConfiguredPluginInstalls", () => {
15621562

15631563
expect(mocks.installPluginFromNpmSpec).toHaveBeenCalledWith(
15641564
expect.objectContaining({
1565-
spec: "@openclaw/feishu@beta",
1565+
spec: "@openclaw/feishu",
15661566
expectedPluginId: "feishu",
15671567
trustedSourceLinkedOfficialInstall: true,
15681568
}),
15691569
);
15701570
expect(result.changes).toEqual([
1571-
'Installed missing configured plugin "feishu" from @openclaw/feishu@beta.',
1571+
'Installed missing configured plugin "feishu" from @openclaw/feishu.',
15721572
]);
15731573
});
15741574

@@ -1717,7 +1717,7 @@ describe("repairMissingConfiguredPluginInstalls", () => {
17171717
);
17181718
expect(mocks.installPluginFromNpmSpec).toHaveBeenCalledWith(
17191719
expect.objectContaining({
1720-
spec: "@openclaw/discord@beta",
1720+
spec: "@openclaw/discord",
17211721
expectedPluginId: "discord",
17221722
trustedSourceLinkedOfficialInstall: true,
17231723
}),
@@ -1729,7 +1729,7 @@ describe("repairMissingConfiguredPluginInstalls", () => {
17291729
{ env: {} },
17301730
);
17311731
expect(result.changes).toEqual([
1732-
'Installed missing configured plugin "discord" from @openclaw/discord@beta.',
1732+
'Installed missing configured plugin "discord" from @openclaw/discord.',
17331733
]);
17341734
});
17351735

@@ -2062,13 +2062,13 @@ describe("repairMissingConfiguredPluginInstalls", () => {
20622062

20632063
expect(mocks.installPluginFromNpmSpec).toHaveBeenCalledWith(
20642064
expect.objectContaining({
2065-
spec: "@openclaw/brave-plugin@beta",
2065+
spec: "@openclaw/brave-plugin",
20662066
expectedPluginId: "brave",
20672067
trustedSourceLinkedOfficialInstall: true,
20682068
}),
20692069
);
20702070
expect(result.changes).toEqual([
2071-
'Installed missing configured plugin "brave" from @openclaw/brave-plugin@beta.',
2071+
'Installed missing configured plugin "brave" from @openclaw/brave-plugin.',
20722072
]);
20732073
});
20742074

src/commands/onboarding-plugin-install.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ describe("ensureOnboardingPluginInstalled", () => {
480480
});
481481

482482
expect(captured?.options).toEqual([
483-
{ value: "npm", label: "Download from npm (@demo/plugin@beta)" },
483+
{ value: "npm", label: "Download from npm (@demo/plugin)" },
484484
{ value: "skip", label: "Skip for now" },
485485
]);
486486
expect(captured?.initialValue).toBe("npm");

0 commit comments

Comments
 (0)