n8n/packages/cli/test/setup.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
122 B
TypeScript
Raw Normal View History

import nock from 'nock';
export default async () => {
nock.disableNetConnect();
nock.enableNetConnect('127.0.0.1');
};