Possible bug: mockFn().reset() should also reset calls
Closed this issue · 0 comments
dhardtke commented
I would expect reset() to reset a mock's calls as well. Otherwise, I would have to manually empty the calls array before each test.
Closed this issue · 0 comments
I would expect reset() to reset a mock's calls as well. Otherwise, I would have to manually empty the calls array before each test.