test(plugins): remove unnecessary peer-link assertion

This commit is contained in:
pickaxe
2026-05-05 02:52:50 -07:00
committed by Peter Steinberger
parent fb42c722f0
commit 4d248b887f

View File

@@ -286,7 +286,7 @@ function createOpenClawPeerLinkFixtures(plugins: Array<{ pluginId: string; packa
]),
);
const peerLinkPath = (pluginId: string) =>
path.join(installPaths[pluginId]!, "node_modules", "openclaw");
path.join(installPaths[pluginId], "node_modules", "openclaw");
const linkPeer = (pluginId: string) => {
fs.mkdirSync(path.dirname(peerLinkPath(pluginId)), { recursive: true });
fs.symlinkSync(peerTarget, peerLinkPath(pluginId), "junction");