n8n/packages/cli/jest.config.js
2022-04-12 16:25:56 +02:00

18 lines
416 B
JavaScript

module.exports = {
verbose: true,
transform: {
'^.+\\.ts?$': 'ts-jest',
},
testURL: 'http://localhost/',
testRegex: '(/__tests__/.*|(\\.|/)(test))\\.ts$',
testPathIgnorePatterns: ['/dist/', '/node_modules/'],
moduleFileExtensions: ['ts', 'js', 'json'],
globals: {
'ts-jest': {
isolatedModules: true,
},
},
globalTeardown: '<rootDir>/test/teardown.ts',
setupFiles: ['<rootDir>/test/setup.ts'],
};