Creates a mock function similar to jest.fn but also tracks calls to object[methodName]
Note: By default, jest.spyOn also calls the spied method. This is different behavior from most other test libraries.
Creates a mock function similar to jest.fn but also tracks calls to object[methodName]
Note: By default, jest.spyOn also calls the spied method. This is different behavior from most other test libraries.
Creates a mock function similar to jest.fn but also tracks calls to
object[methodName]
Note: By default, jest.spyOn also calls the spied method. This is different behavior from most other test libraries.