test: compress plugin uninstall logs

This commit is contained in:
Shakker
2026-05-12 22:10:00 +01:00
parent 3cfcaf80d0
commit c4d26b9e0c
+1 -1
View File
@@ -25,7 +25,7 @@ const ALPHA_INSTALL_PATH = installedPluginRoot(CLI_STATE_ROOT, "alpha");
const ORIGINAL_OPENCLAW_NIX_MODE = process.env.OPENCLAW_NIX_MODE;
function expectRuntimeLogIncludes(fragment: string) {
expect(runtimeLogs.some((message) => message.includes(fragment))).toBe(true);
expect(runtimeLogs.join("\n")).toContain(fragment);
}
function expectLatestUninstallPlanParams(expected: {