tests: enable nock when needed
by default, it makes all requests disappear
This commit is contained in:
@@ -21,6 +21,7 @@ describe('dns provider', function () {
|
||||
const domainCopy = Object.assign({}, domain); // make a copy
|
||||
|
||||
before(setup);
|
||||
before(() => { if (!nock.isActive()) nock.activate(); });
|
||||
after(cleanup);
|
||||
|
||||
describe('noop', function () {
|
||||
|
||||
Reference in New Issue
Block a user