test: expect plugin install index records on refresh · openclaw/openclaw@0a41fc3
shakkernerd
·
2026-04-26
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -56,6 +56,13 @@ describe("persistPluginInstall", () => {
|
56 | 56 | expect(writeConfigFile).toHaveBeenCalledWith(enabledConfig); |
57 | 57 | expect(refreshPluginRegistry).toHaveBeenCalledWith({ |
58 | 58 | config: enabledConfig, |
| 59 | +installRecords: { |
| 60 | +alpha: expect.objectContaining({ |
| 61 | +source: "npm", |
| 62 | +spec: "alpha@1.0.0", |
| 63 | +installPath: "/tmp/alpha", |
| 64 | +}), |
| 65 | +}, |
59 | 66 | reason: "source-changed", |
60 | 67 | }); |
61 | 68 | }); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。