This commit is contained in:
Bryan Morgan
2025-06-25 21:45:38 -04:00
committed by GitHub
parent b6b9923dc3
commit bb797ded7d
6 changed files with 72 additions and 50 deletions

View File

@@ -272,7 +272,7 @@ describe('retryWithBackoff', () => {
expect(fallbackCallback).toHaveBeenCalledWith('oauth-personal');
// Should retry again after fallback
expect(mockFn).toHaveBeenCalledTimes(4); // 3 initial attempts + 1 after fallback
expect(mockFn).toHaveBeenCalledTimes(3); // 2 initial attempts + 1 after fallback
});
it('should NOT trigger fallback for API key users', async () => {