pub fn reset()
👎Deprecated since 0.32.0: Use
Server::reset
insteadExpand description
DEPRECATED: This method is part of the legacy interface an will be removed
in future versions. You should replace it with Server::reset
:
let mut s = mockito::Server::new();
s.reset();
Removes all the mocks stored on the server.