test: stringify daemon install warnings

This commit is contained in:
Shakker
2026-05-12 22:12:33 +01:00
parent 3653a231cc
commit bb10e2b22d

View File

@@ -393,7 +393,7 @@ describe("runDaemonInstall", () => {
expectFields(readFirstInstallPlanArg(), { port: 18789 });
expectFirstInstallPlanCallOmitsToken();
expect(installDaemonServiceAndEmitMock).toHaveBeenCalledTimes(1);
expect(actionState.warnings.some((warning) => warning.includes("Auto-generated"))).toBe(true);
expect(actionState.warnings.join("\n")).toContain("Auto-generated");
});
it("continues Linux install when service probe hits a non-fatal systemd bus failure", async () => {