tests: enable nock when needed
by default, it makes all requests disappear
This commit is contained in:
@@ -16,6 +16,7 @@ describe('Support API', function () {
|
||||
const { setup, cleanup, serverUrl, owner, mockApiServerOrigin, appstoreToken, user, admin } = common;
|
||||
|
||||
before(setup);
|
||||
before(() => { if (!nock.isActive()) nock.activate(); });
|
||||
after(cleanup);
|
||||
|
||||
const authorizedKeysFile = support._sshInfo().filePath;
|
||||
|
||||
Reference in New Issue
Block a user