mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
ci: Block all external network calls in tests (no-changelog) (#4930)
* setup nock to prevent tests from making any external requests * mock all calls to posthog sdk
This commit is contained in:
committed by
GitHub
parent
2964458191
commit
d5b06ab3d6
@@ -4,6 +4,7 @@ module.exports = {
|
||||
testEnvironmentOptions: {
|
||||
url: 'http://localhost/',
|
||||
},
|
||||
globalSetup: '<rootDir>/test/setup.ts',
|
||||
globalTeardown: '<rootDir>/test/teardown.ts',
|
||||
moduleNameMapper: {
|
||||
'^@/(.*)$': '<rootDir>/src/$1',
|
||||
|
||||
Reference in New Issue
Block a user