Reset unmatchedRequests during Off()
nikolay-turpitko opened this issue · comments
Nikolay Turpitko commented
I think, it could be nice to reset unmatchedRequests during Off() so that unit tests will be more independent of each other.
Tom commented
In gock@v1.0.5
you can now use: gock.CleanUnmatchedRequests()
or gock.OffAll()
, which behaves like gock.Off()
+ gock.CleanUnmatchedRequests
.