mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
* setup nock to prevent tests from making any external requests * mock all calls to posthog sdk
14 lines
345 B
JavaScript
14 lines
345 B
JavaScript
/** @type {import('jest').Config} */
|
|
module.exports = {
|
|
...require('../../jest.config'),
|
|
testEnvironmentOptions: {
|
|
url: 'http://localhost/',
|
|
},
|
|
globalSetup: '<rootDir>/test/setup.ts',
|
|
globalTeardown: '<rootDir>/test/teardown.ts',
|
|
moduleNameMapper: {
|
|
'^@/(.*)$': '<rootDir>/src/$1',
|
|
'^@db/(.*)$': '<rootDir>/src/databases/$1',
|
|
},
|
|
};
|