diff --git a/src/gateway/sessions-resolve.test.ts b/src/gateway/sessions-resolve.test.ts index 238f15c148f..472b6fd5ffa 100644 --- a/src/gateway/sessions-resolve.test.ts +++ b/src/gateway/sessions-resolve.test.ts @@ -118,7 +118,7 @@ describe("resolveSessionKeyFromResolveParams", () => { }); expect(hoisted.updateSessionStoreMock).toHaveBeenCalledTimes(1); - const updateSessionStoreCall = hoisted.updateSessionStoreMock.mock.calls.at(0); + const updateSessionStoreCall = hoisted.updateSessionStoreMock.mock.calls[0]; expect(updateSessionStoreCall?.[0]).toBe(storePath); expect(typeof updateSessionStoreCall?.[1]).toBe("function"); expect(hoisted.listSessionsFromStoreMock).toHaveBeenCalledWith({