From ccd51b40ddbb6f880e2f6b9353177a7a650ea457 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 13 May 2026 01:31:59 +0100 Subject: [PATCH] test: dedupe oauth tls mock read --- src/commands/oauth-tls-preflight.doctor.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/oauth-tls-preflight.doctor.test.ts b/src/commands/oauth-tls-preflight.doctor.test.ts index 3f24e2f3acd..bf4107cce22 100644 --- a/src/commands/oauth-tls-preflight.doctor.test.ts +++ b/src/commands/oauth-tls-preflight.doctor.test.ts @@ -44,7 +44,7 @@ describe("noteOpenAIOAuthTlsPrerequisites", () => { } expect(note).toHaveBeenCalledTimes(1); - const [message, title] = note.mock.calls.at(0) as [string, string]; + const [message, title] = note.mock.calls[0] as [string, string]; expect(title).toBe("OAuth TLS prerequisites"); expect(message).toContain("brew postinstall ca-certificates"); });