reset()
API @mockyeah/server
Removes all mounted mock services. Best practice is to execute .reset()
in an "after each" test hook. Example usage with Mocha:
// unmounts all mounted services after each test
afterEach(() => mockyeah.reset());