n8n/packages/cli/jest.config.js
कारतोफ्फेलस्क्रिप्ट™ 34df8b6238
refactor: Consolidate tsconfig and eslintrc files (no-changelog) (#6816)
Co-authored-by: Csaba Tuncsik <[email protected]>
2023-08-01 17:32:43 +02:00

13 lines
414 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',
setupFilesAfterEnv: ['<rootDir>/test/setup-mocks.ts', '<rootDir>/test/extend-expect.ts'],
coveragePathIgnorePatterns: ['/src/databases/migrations/'],
testTimeout: 10_000,
};