l2beat/earl

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

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.