test: tighten discord client retry assertion · openclaw/openclaw@a4c958d
shakkernerd
·
2026-05-11
·
via Recent Commits to openclaw:main
Commit a4c958d
test: tighten discord client retry assertion
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|
@@ -59,7 +59,7 @@ describe("createDiscordRestClient", () => {
|
59 | 59 | |
60 | 60 | expect(result.token).toBe("explicit-account-token"); |
61 | 61 | expect(result.account.accountId).toBe("ops"); |
62 | | -expect(result.account.config.retry).toMatchObject({ attempts: 7 }); |
| 62 | +expect(result.account.config.retry).toEqual({ attempts: 7 }); |
63 | 63 | }); |
64 | 64 | |
65 | 65 | it("still fails closed when no explicit token is provided and config token is unresolved", () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
0 commit comments
Comments
(0)