refactor(auth): Refactor non-interactive mode auth validation & refresh (#15679)

This commit is contained in:
Shreya Keshive
2025-12-30 11:09:00 -05:00
committed by GitHub
parent fb22f5b8ee
commit 1e08b150f7
5 changed files with 56 additions and 65 deletions
+1
View File
@@ -213,6 +213,7 @@ describe('gemini.tsx main function cleanup', () => {
getOutputFormat: vi.fn(() => 'text'),
getUsageStatisticsEnabled: vi.fn(() => false),
setTerminalBackground: vi.fn(),
refreshAuth: vi.fn(),
} as any); // eslint-disable-line @typescript-eslint/no-explicit-any
try {