test: dedupe channel doctor mock read · openclaw/openclaw@45f0f4a
steipete
·
2026-05-13
·
via Recent Commits to openclaw:main
File tree
src/commands/doctor/shared
| Original file line number | Diff line number | Diff line change |
|---|
@@ -305,7 +305,7 @@ describe("channel doctor compatibility mutations", () => {
|
305 | 305 | cfg, |
306 | 306 | READ_ONLY_CHANNEL_DOCTOR_OPTIONS, |
307 | 307 | ); |
308 | | -expect(collectEmptyAllowlistExtraWarnings.mock.calls.at(0)?.[0]).not.toHaveProperty("cfg"); |
| 308 | +expect(collectEmptyAllowlistExtraWarnings.mock.calls[0]?.[0]).not.toHaveProperty("cfg"); |
309 | 309 | }); |
310 | 310 | |
311 | 311 | it("reuses empty allowlist doctor entries across per-account hooks", () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。