test: dedupe google meet oauth mock read · openclaw/openclaw@2a931b5
steipete
·
2026-05-13
·
via Recent Commits to openclaw:main
File tree
extensions/google-meet/src
| Original file line number | Diff line number | Diff line change |
|---|
@@ -64,7 +64,7 @@ describe("Google Meet OAuth", () => {
|
64 | 64 | expect(tokens.tokenType).toBe("Bearer"); |
65 | 65 | expect(Number.isFinite(tokens.expiresAt)).toBe(true); |
66 | 66 | expect(tokens.expiresAt).toBeGreaterThan(Date.now()); |
67 | | -const body = fetchMock.mock.calls.at(0)?.[1]?.body; |
| 67 | +const body = fetchMock.mock.calls[0]?.[1]?.body; |
68 | 68 | expect(body).toBeInstanceOf(URLSearchParams); |
69 | 69 | const params = body as URLSearchParams; |
70 | 70 | expect(params.get("grant_type")).toBe("refresh_token"); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。