You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[x ] I checked the documentation and found no answer
[x ] I checked to make sure that this issue has not already been filed
The current API comes with a handy function to unstub all mocks: unmockkAll()
Unfortunately there is no way to clear recorded calls in a similar fashion.
clearMocks(...) requires the mock to be passed as an argument. When the mock object is not in scope (e.g. test lifecycle listener) there is currently no way to clear recorded calls.
I am aware this functionality is rarely required. So is unmockAll() :-)
The text was updated successfully, but these errors were encountered:
The current API comes with a handy function to unstub all mocks:
unmockkAll()
Unfortunately there is no way to clear recorded calls in a similar fashion.
clearMocks(...)
requires the mock to be passed as an argument. When the mock object is not in scope (e.g. test lifecycle listener) there is currently no way to clear recorded calls.I am aware this functionality is rarely required. So is
unmockAll()
:-)The text was updated successfully, but these errors were encountered: