mirror of
https://github.com/n8n-io/n8n
synced 2026-05-10 13:32:23 +02:00
* 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');
|
|
};
|