test: update cli guidance assertions

This commit is contained in:
Shakker
2026-05-09 02:47:37 +01:00
parent 05168dd00d
commit 59f75e793c
4 changed files with 10 additions and 6 deletions

View File

@@ -103,6 +103,8 @@ describe("runDaemonStatus", () => {
).rejects.toThrow("__exit__:1");
expect(gatherDaemonStatus).not.toHaveBeenCalled();
expect(runtimeErrors.join("\n")).toContain("--require-rpc cannot be used with --no-probe");
expect(runtimeErrors[0]).toBe(
"Gateway status failed: --require-rpc needs probing enabled. Remove --no-probe or drop --require-rpc.",
);
});
});