mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00: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');
|
|
};
|