test: clarify google oauth fallback assertion · openclaw/openclaw@4fd9d0e
shakkernerd
·
2026-05-08
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -844,7 +844,9 @@ describe("loginGeminiCliOAuth", () => {
|
844 | 844 | |
845 | 845 | await runProjectDiscoveryExpectingProjectId("env-project"); |
846 | 846 | expect(requests.filter(({ url }) => url.includes("v1internal:loadCodeAssist"))).toHaveLength(3); |
847 | | -expect(requests.some(({ url }) => url.includes("v1internal:onboardUser"))).toBe(false); |
| 847 | +expect(requests.map(({ url }) => url)).not.toEqual( |
| 848 | +expect.arrayContaining([expect.stringContaining("v1internal:onboardUser")]), |
| 849 | +); |
848 | 850 | }); |
849 | 851 | |
850 | 852 | it("skips loadCodeAssist entirely when Gemini CLI is configured for personal OAuth", async () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。