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"); });