From 37237a512938b8b0150eac65ec8e4ffb47396f82 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 13 May 2026 00:50:55 +0100 Subject: [PATCH] test: dedupe auth profile mock read --- src/agents/auth-profiles.readonly-sync.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agents/auth-profiles.readonly-sync.test.ts b/src/agents/auth-profiles.readonly-sync.test.ts index ef1ed82ce6c1..491b7ea2c23e 100644 --- a/src/agents/auth-profiles.readonly-sync.test.ts +++ b/src/agents/auth-profiles.readonly-sync.test.ts @@ -29,7 +29,7 @@ let loadAuthProfileStoreForRuntime: typeof import("./auth-profiles.js").loadAuth type MockWithCalls = { mock: { calls: unknown[][] } }; function firstMockArg(mock: MockWithCalls, label: string) { - const call = mock.mock.calls.at(0); + const call = mock.mock.calls[0]; if (!call) { throw new Error(`expected ${label} call`); }