mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-18 15:54:47 +00:00
test: tighten google oauth endpoint assertion
This commit is contained in:
@@ -854,9 +854,7 @@ describe("loginGeminiCliOAuth", () => {
|
||||
|
||||
await runProjectDiscoveryExpectingProjectId("env-project");
|
||||
expect(countMatching(requests, ({ url }) => url.includes("v1internal:loadCodeAssist"))).toBe(3);
|
||||
expect(requests.map(({ url }) => url)).not.toEqual(
|
||||
expect.arrayContaining([expect.stringContaining("v1internal:onboardUser")]),
|
||||
);
|
||||
expect(countMatching(requests, ({ url }) => url.includes("v1internal:onboardUser"))).toBe(0);
|
||||
});
|
||||
|
||||
it("skips loadCodeAssist entirely when Gemini CLI is configured for personal OAuth", async () => {
|
||||
|
||||
Reference in New Issue
Block a user