test: tighten doctor version note assertion · openclaw/openclaw@b928bc6
steipete
·
2026-05-09
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -49,7 +49,7 @@ describe("checkGatewayHealth", () => {
|
49 | 49 | timeoutMs: 6000, |
50 | 50 | }); |
51 | 51 | expect(runtime.error).not.toHaveBeenCalled(); |
52 | | -expect(note).not.toHaveBeenCalledWith(expect.any(String), "OpenClaw version mismatch"); |
| 52 | +expect(note.mock.calls.map(([, title]) => title)).not.toContain("OpenClaw version mismatch"); |
53 | 53 | }); |
54 | 54 | |
55 | 55 | it("notes CLI and gateway version mismatch when the gateway reports another runtime version", async () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。