We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
The text was updated successfully, but these errors were encountered:
fix(mocks): reset should empty calls
4383069
Fixes l2beat#290
Add .clear method to mocks. Fix .reset (#291)
46f000c
* fix(mocks): reset should empty calls Fixes #290 * Add .clear method to mocks * Add changeset --------- Co-authored-by: Piotr Szlachciak <szlachciak.piotr@gmail.com>
Successfully merging a pull request may close this issue.
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.
The text was updated successfully, but these errors were encountered: