From 085b2d072764eff841ada81246a26bfabae8719e Mon Sep 17 00:00:00 2001 From: Shakker Date: Mon, 11 May 2026 19:57:03 +0100 Subject: [PATCH] test: verify plugin cleanup changes --- src/commands/doctor/shared/plugin-dependency-cleanup.test.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/commands/doctor/shared/plugin-dependency-cleanup.test.ts b/src/commands/doctor/shared/plugin-dependency-cleanup.test.ts index d0ca03f3ebf..39d1048e64a 100644 --- a/src/commands/doctor/shared/plugin-dependency-cleanup.test.ts +++ b/src/commands/doctor/shared/plugin-dependency-cleanup.test.ts @@ -130,7 +130,10 @@ describe("cleanupLegacyPluginDependencyState", () => { }); expect(result.warnings).toStrictEqual([]); - expect(result.changes).toContain(`Removed stale plugin-runtime symlink: ${slackLink}`); + expect(result.changes).toStrictEqual([ + `Removed stale plugin-runtime symlink: ${slackLink}`, + `Removed legacy plugin dependency state: ${legacyRuntimeRoot}`, + ]); await expectPathMissing(slackLink); expect((await fs.lstat(liveLink)).isSymbolicLink()).toBe(true); });