test: dedupe oauth tls mock read · openclaw/openclaw@ccd51b4
steipete
·
2026-05-13
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -44,7 +44,7 @@ describe("noteOpenAIOAuthTlsPrerequisites", () => {
|
44 | 44 | } |
45 | 45 | |
46 | 46 | expect(note).toHaveBeenCalledTimes(1); |
47 | | -const [message, title] = note.mock.calls.at(0) as [string, string]; |
| 47 | +const [message, title] = note.mock.calls[0] as [string, string]; |
48 | 48 | expect(title).toBe("OAuth TLS prerequisites"); |
49 | 49 | expect(message).toContain("brew postinstall ca-certificates"); |
50 | 50 | }); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。