

























@@ -290,7 +290,7 @@ describe("plugins cli install", () => {
290290expect(writeConfigFile).not.toHaveBeenCalled();
291291});
292292293-it("installs marketplace plugins and persists config", async () => {
293+it("installs marketplace plugins and persists install ledger", async () => {
294294const cfg = {
295295plugins: {
296296entries: {},
@@ -388,6 +388,7 @@ describe("plugins cli install", () => {
388388demo: expect.objectContaining({
389389source: "clawhub",
390390spec: "clawhub:demo@1.2.3",
391+installPath: cliInstallPath("demo"),
391392clawhubPackage: "demo",
392393clawhubFamily: "code-plugin",
393394clawhubChannel: "official",
@@ -467,6 +468,7 @@ describe("plugins cli install", () => {
467468demo: expect.objectContaining({
468469source: "clawhub",
469470spec: "clawhub:demo@1.2.3",
471+installPath: cliInstallPath("demo"),
470472clawhubPackage: "demo",
471473}),
472474});
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。