earl
earl copied to clipboard
Possible bug: mockFn().reset() should also reset calls
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.