earl icon indicating copy to clipboard operation
earl copied to clipboard

Possible bug: mockFn().reset() should also reset calls

Open dhardtke opened this issue 2 years ago • 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.

dhardtke avatar Jul 16 '23 20:07 dhardtke