From b0cce952860b9ff51a0f731fbb8a7649ead23530 Mon Sep 17 00:00:00 2001 From: Bryan Morgan Date: Wed, 9 Jul 2025 10:18:15 -0400 Subject: Improve quota- and resource-related 429 error handling, also taking Code Assist customer tiers into consideration (#3609) --- packages/core/src/utils/flashFallback.integration.test.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'packages/core/src/utils/flashFallback.integration.test.ts') diff --git a/packages/core/src/utils/flashFallback.integration.test.ts b/packages/core/src/utils/flashFallback.integration.test.ts index 6554425f..f5e354a0 100644 --- a/packages/core/src/utils/flashFallback.integration.test.ts +++ b/packages/core/src/utils/flashFallback.integration.test.ts @@ -86,6 +86,7 @@ describe('Flash Fallback Integration', () => { expect(fallbackModel).toBe(DEFAULT_GEMINI_FLASH_MODEL); expect(mockFallbackHandler).toHaveBeenCalledWith( AuthType.LOGIN_WITH_GOOGLE, + expect.any(Error), ); expect(result).toBe('success after fallback'); // Should have: 2 failures, then fallback triggered, then 1 success after retry reset -- cgit v1.2.3