summaryrefslogtreecommitdiff
path: root/packages/core/src/utils/flashFallback.integration.test.ts
diff options
context:
space:
mode:
authorTommaso Sciortino <[email protected]>2025-06-30 17:11:54 -0700
committerGitHub <[email protected]>2025-07-01 00:11:54 +0000
commit3587054d32372874a4e067ae050f861ad1cec2b4 (patch)
tree129c31f55176eec8ea8607f1090f63b77c7ab4c5 /packages/core/src/utils/flashFallback.integration.test.ts
parent0ca5c071352b1ab37da3fb44959bb1e88bdd69e3 (diff)
Rename AuthType LOGIN_WITH_GOOGLE_PERSONAL -> LOGIN_WITH_GOOGLE (#2769)
Diffstat (limited to 'packages/core/src/utils/flashFallback.integration.test.ts')
-rw-r--r--packages/core/src/utils/flashFallback.integration.test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/core/src/utils/flashFallback.integration.test.ts b/packages/core/src/utils/flashFallback.integration.test.ts
index cffe9aa5..6554425f 100644
--- a/packages/core/src/utils/flashFallback.integration.test.ts
+++ b/packages/core/src/utils/flashFallback.integration.test.ts
@@ -78,14 +78,14 @@ describe('Flash Fallback Integration', () => {
return status === 429;
},
onPersistent429: mockFallbackHandler,
- authType: AuthType.LOGIN_WITH_GOOGLE_PERSONAL,
+ authType: AuthType.LOGIN_WITH_GOOGLE,
});
// Verify fallback was triggered
expect(fallbackCalled).toBe(true);
expect(fallbackModel).toBe(DEFAULT_GEMINI_FLASH_MODEL);
expect(mockFallbackHandler).toHaveBeenCalledWith(
- AuthType.LOGIN_WITH_GOOGLE_PERSONAL,
+ AuthType.LOGIN_WITH_GOOGLE,
);
expect(result).toBe('success after fallback');
// Should have: 2 failures, then fallback triggered, then 1 success after retry reset