n8n/packages/cli/test/setup.ts

7 lines
122 B
TypeScript
Raw Normal View History

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