mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-02 03:44:57 +00:00
test: verify plugin cleanup changes
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user