mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 20:54:07 -08:00
d5b06ab3d6
* setup nock to prevent tests from making any external requests * mock all calls to posthog sdk
7 lines
122 B
TypeScript
7 lines
122 B
TypeScript
import nock from 'nock';
|
|
|
|
export default async () => {
|
|
nock.disableNetConnect();
|
|
nock.enableNetConnect('127.0.0.1');
|
|
};
|