test: verify health formatter lines · openclaw/openclaw@aab10f5
shakkernerd
·
2026-05-12
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -190,9 +190,9 @@ describe("healthCommand", () => {
|
190 | 190 | }); |
191 | 191 | |
192 | 192 | const lines = formatHealthChannelLines(summary, { accountMode: "all" }); |
193 | | -expect(lines).toContain( |
| 193 | +expect(lines).toStrictEqual([ |
194 | 194 | "Telegram: ok (@pinguini_ugi_bot:main:196ms, @flurry_ugi_bot:flurry:190ms, @poe_ugi_bot:poe:188ms)", |
195 | | -); |
| 195 | +]); |
196 | 196 | }); |
197 | 197 | |
198 | 198 | it("formats statusState without inferring from linked", () => { |
@@ -209,7 +209,7 @@ describe("healthCommand", () => {
|
209 | 209 | }); |
210 | 210 | |
211 | 211 | const lines = formatHealthChannelLines(summary, { accountMode: "default" }); |
212 | | -expect(lines).toContain("WhatsApp: auth stabilizing"); |
| 212 | +expect(lines).toStrictEqual(["WhatsApp: auth stabilizing"]); |
213 | 213 | }); |
214 | 214 | }); |
215 | 215 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。