Commit db0fa897 by Ben Drucker

Properly clean up nock state after tests

parent 16c51c93
......@@ -71,7 +71,7 @@ describe('ClearbitClient', function () {
before(function () {
mock = nock('https://person.clearbit.co');
});
after(nock.restore);
after(nock.cleanAll);
afterEach(function () {
mock.done();
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment