test("mock.calls", () => { const mockFn = jest.fn(); mockFn(1, 2); expect(mockFn.mock.calls).toEqual([[1, 2]]); });