🌈 搜索
📅  最后修改于: 2022-03-11 15:03:30.642000             🧑  作者: Mango
test("mock.calls", () => { const mockFn = jest.fn(); mockFn(1, 2); expect(mockFn.mock.calls).toEqual([[1, 2]]); });