diff --git a/src/gateway/server-methods/tools-effective.test.ts b/src/gateway/server-methods/tools-effective.test.ts index a70236ba31d..ea024524353 100644 --- a/src/gateway/server-methods/tools-effective.test.ts +++ b/src/gateway/server-methods/tools-effective.test.ts @@ -90,11 +90,11 @@ function resolveEffectiveToolInventoryArg(callIndex = 0): Record] >; - return calls.at(callIndex)?.[0]; + return calls[callIndex]?.[0]; } function firstRespondCall(respond: ReturnType): RespondCall | undefined { - return respond.mock.calls.at(0) as RespondCall | undefined; + return respond.mock.calls[0] as RespondCall | undefined; } describe("tools.effective handler", () => {