Rename AuthType LOGIN_WITH_GOOGLE_PERSONAL -> LOGIN_WITH_GOOGLE (#2769)

This commit is contained in:
Tommaso Sciortino
2025-06-30 17:11:54 -07:00
committed by GitHub
parent 0ca5c07135
commit 3587054d32
13 changed files with 16 additions and 19 deletions

View File

@@ -1009,7 +1009,7 @@ describe('useGeminiStream', () => {
it('should call parseAndFormatApiError with the correct authType on stream initialization failure', async () => {
// 1. Setup
const mockError = new Error('Rate limit exceeded');
const mockAuthType = AuthType.LOGIN_WITH_GOOGLE_PERSONAL;
const mockAuthType = AuthType.LOGIN_WITH_GOOGLE;
mockParseAndFormatApiError.mockClear();
mockSendMessageStream.mockReturnValue(
(async function* () {