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
Currently the timer in After(duration) method is started immediately when mock is defined. This is a problem when user would like to test two mocked methods that are run one after another.
Currently the timer in
After(duration)
method is started immediately when mock is defined. This is a problem when user would like to test two mocked methods that are run one after another.For example in following snippet:
Documentation specifies, that the call will block so that expected execution time of
doWaiting
function is 200ms.Unfortunately, the actual execution time is 100ms, because timer in
After
starts when mock is defined.This leads to mock code that misleading:
The text was updated successfully, but these errors were encountered: