Creates a mock function similar to jest.fn but also tracks calls to object[methodName] . Returns a Jest mock function. Note: By default, jest.spyOn ...
確定! 回上一頁