






















@@ -682,9 +682,10 @@ describe("repairMissingConfiguredPluginInstalls", () => {
682682env: {},
683683},
684684);
685-expect(result).toMatchObject({
685+expect(result).toEqual({
686686changes: ['Removed stale managed install record for bundled plugin "matrix".'],
687687warnings: [],
688+records: {},
688689});
689690});
690691@@ -751,9 +752,10 @@ describe("repairMissingConfiguredPluginInstalls", () => {
751752env: {},
752753},
753754);
754-expect(result).toMatchObject({
755+expect(result).toEqual({
755756changes: ['Removed stale managed install record for bundled plugin "google-meet".'],
756757warnings: [],
758+records: {},
757759});
758760});
759761@@ -797,9 +799,10 @@ describe("repairMissingConfiguredPluginInstalls", () => {
797799env: {},
798800},
799801);
800-expect(result).toMatchObject({
802+expect(result).toEqual({
801803changes: ['Removed stale managed install record for bundled plugin "google-meet".'],
802804warnings: [],
805+records: {},
803806});
804807});
805808@@ -922,11 +925,12 @@ describe("repairMissingConfiguredPluginInstalls", () => {
922925expect(mocks.installPluginFromClawHub).not.toHaveBeenCalled();
923926expect(mocks.installPluginFromNpmSpec).not.toHaveBeenCalled();
924927expect(mocks.writePersistedInstalledPluginIndexInstallRecords).not.toHaveBeenCalled();
925-expect(result).toMatchObject({
928+expect(result).toEqual({
926929changes: [
927930'Skipped package-manager repair for configured plugin "discord" during package update; rerun "openclaw doctor --fix" after the update completes.',
928931],
929932warnings: [],
933+ records,
930934});
931935});
932936@@ -1020,11 +1024,12 @@ describe("repairMissingConfiguredPluginInstalls", () => {
10201024expect(mocks.installPluginFromClawHub).not.toHaveBeenCalled();
10211025expect(mocks.installPluginFromNpmSpec).not.toHaveBeenCalled();
10221026expect(mocks.writePersistedInstalledPluginIndexInstallRecords).not.toHaveBeenCalled();
1023-expect(result).toMatchObject({
1027+expect(result).toEqual({
10241028changes: [
10251029'Skipped package-manager repair for configured plugin "discord" during package update; rerun "openclaw doctor --fix" after the update completes.',
10261030],
10271031warnings: [],
1032+ records,
10281033});
10291034});
10301035此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。