




























@@ -542,7 +542,7 @@ describe("plugin registry facade", () => {
542542]);
543543});
544544545-it("caches config-scoped derived registries when the persisted registry is missing", () => {
545+it("derives fresh config-scoped registries when the persisted registry is missing", () => {
546546const stateDir = makeTempDir();
547547const workspaceDir = makeTempDir();
548548const bundledRoot = makeTempDir();
@@ -574,9 +574,10 @@ describe("plugin registry facade", () => {
574574).length;
575575576576expect(first.source).toBe("derived");
577-expect(second).toBe(first);
577+expect(second.source).toBe("derived");
578+expect(second).not.toBe(first);
578579expect(manifestReadsAfterFirst).toBeGreaterThan(0);
579-expect(manifestReadsAfterSecond).toBe(manifestReadsAfterFirst);
580+expect(manifestReadsAfterSecond).toBeGreaterThan(manifestReadsAfterFirst);
580581});
581582582583it("falls back to the derived registry when persisted reads are disabled", async () => {
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。