test: tighten google oauth cache assertion

This commit is contained in:
Shakker
2026-05-08 17:27:35 +01:00
parent 3da1c71273
commit 4cfe562fa4

View File

@@ -520,7 +520,7 @@ describe("extractGeminiCliCredentials", () => {
// First call
const result1 = extractGeminiCliCredentials();
expect(result1).not.toBeNull();
expectFakeCliCredentials(result1);
// Second call should use cache (readFileSync not called again)
const readCount = mockReadFileSync.mock.calls.length;