test: tighten doctor version note assertion

This commit is contained in:
Peter Steinberger
2026-05-09 05:44:23 +01:00
parent e0225380a7
commit b928bc619f

View File

@@ -49,7 +49,7 @@ describe("checkGatewayHealth", () => {
timeoutMs: 6000,
});
expect(runtime.error).not.toHaveBeenCalled();
expect(note).not.toHaveBeenCalledWith(expect.any(String), "OpenClaw version mismatch");
expect(note.mock.calls.map(([, title]) => title)).not.toContain("OpenClaw version mismatch");
});
it("notes CLI and gateway version mismatch when the gateway reports another runtime version", async () => {