reset()
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());
0.x
. For latest mockyeah 1.x
, please see https://mockyeah.js.org/.