test: allow daemon start hints to grow on linux (#54058) (thanks @byungsker)

This commit is contained in:
Peter Steinberger
2026-03-24 23:02:52 -07:00
parent 8b80690a1a
commit b9857a2b79

View File

@@ -236,7 +236,7 @@ describe("runServiceRestart token drift", () => {
const payload = readJsonLog<{ ok?: boolean; result?: string; hints?: string[] }>();
expect(payload.ok).toBe(true);
expect(payload.result).toBe("not-loaded");
expect(payload.hints).toEqual(["openclaw gateway install"]);
expect(payload.hints).toEqual(expect.arrayContaining(["openclaw gateway install"]));
expect(service.restart).not.toHaveBeenCalled();
});
});