From 4cfe562fa43ebc1608c5cd4c686d3d07c0ae54bb Mon Sep 17 00:00:00 2001 From: Shakker Date: Fri, 8 May 2026 17:27:35 +0100 Subject: [PATCH] test: tighten google oauth cache assertion --- extensions/google/oauth.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/google/oauth.test.ts b/extensions/google/oauth.test.ts index 4fc8e83406d..03c99d3a547 100644 --- a/extensions/google/oauth.test.ts +++ b/extensions/google/oauth.test.ts @@ -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;