mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-13 16:14:07 -08:00
9267e8fb12
fix(typescript): Use consistent typescript configs make all packages inherit tsconfig from the root tsconfig skips building tests. reformat all tsconfigs with prettier.
18 lines
415 B
JavaScript
18 lines
415 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'],
|
|
};
|