From b928bc619f2110c2357daefc82d85ddbdfae6a8b Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 9 May 2026 05:44:23 +0100 Subject: [PATCH] test: tighten doctor version note assertion --- src/commands/doctor-gateway-health.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/doctor-gateway-health.test.ts b/src/commands/doctor-gateway-health.test.ts index 6b2ecd90abe..fe4d0b25670 100644 --- a/src/commands/doctor-gateway-health.test.ts +++ b/src/commands/doctor-gateway-health.test.ts @@ -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 () => {