Skip to content

Commit 2e7036e

Browse files
committed
test: dedupe gateway sessions mock read
1 parent f9157fc commit 2e7036e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gateway/sessions-resolve.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ describe("resolveSessionKeyFromResolveParams", () => {
118118
});
119119

120120
expect(hoisted.updateSessionStoreMock).toHaveBeenCalledTimes(1);
121-
const updateSessionStoreCall = hoisted.updateSessionStoreMock.mock.calls.at(0);
121+
const updateSessionStoreCall = hoisted.updateSessionStoreMock.mock.calls[0];
122122
expect(updateSessionStoreCall?.[0]).toBe(storePath);
123123
expect(typeof updateSessionStoreCall?.[1]).toBe("function");
124124
expect(hoisted.listSessionsFromStoreMock).toHaveBeenCalledWith({

0 commit comments

Comments
 (0)