mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-03 16:34:31 -07:00
test(telemetry): clean up comments in onboarding test
This commit is contained in:
@@ -1425,15 +1425,12 @@ describe('oauth2', () => {
|
|||||||
// But here we want to explicitly verify the absence of calls.
|
// But here we want to explicitly verify the absence of calls.
|
||||||
// For simplicity, let's reuse the cached creds scenario but with a different AuthType if possible,
|
// For simplicity, let's reuse the cached creds scenario but with a different AuthType if possible,
|
||||||
// or mock the flow to succeed without LOGIN_WITH_GOOGLE.
|
// or mock the flow to succeed without LOGIN_WITH_GOOGLE.
|
||||||
|
|
||||||
// However, getOauthClient logic is specific to AuthType.
|
// However, getOauthClient logic is specific to AuthType.
|
||||||
// Let's test with AuthType.USE_GEMINI which might have a different flow.
|
// Let's test with AuthType.USE_GEMINI which might have a different flow.
|
||||||
// Actually, initOauthClient is what we modified.
|
// Actually, initOauthClient is what we modified.
|
||||||
// Let's just verify that standard calls don't trigger it if we can.
|
// Let's just verify that standard calls don't trigger it if we can.
|
||||||
|
|
||||||
// Since we modified initOauthClient, we can check that function directly if exposed,
|
// Since we modified initOauthClient, we can check that function directly if exposed,
|
||||||
// but it is not.
|
// but it is not.
|
||||||
|
|
||||||
// Let's just stick to the positive case for now as negative cases would require
|
// Let's just stick to the positive case for now as negative cases would require
|
||||||
// setting up different valid auth flows which might be complex.
|
// setting up different valid auth flows which might be complex.
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user