test: tighten google oauth endpoint assertion · openclaw/openclaw@d0ec06a
shakkernerd
·
2026-05-11
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -854,9 +854,7 @@ describe("loginGeminiCliOAuth", () => {
|
854 | 854 | |
855 | 855 | await runProjectDiscoveryExpectingProjectId("env-project"); |
856 | 856 | expect(countMatching(requests, ({ url }) => url.includes("v1internal:loadCodeAssist"))).toBe(3); |
857 | | -expect(requests.map(({ url }) => url)).not.toEqual( |
858 | | -expect.arrayContaining([expect.stringContaining("v1internal:onboardUser")]), |
859 | | -); |
| 857 | +expect(countMatching(requests, ({ url }) => url.includes("v1internal:onboardUser"))).toBe(0); |
860 | 858 | }); |
861 | 859 | |
862 | 860 | it("skips loadCodeAssist entirely when Gemini CLI is configured for personal OAuth", async () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。