mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
22 lines
451 B
JavaScript
22 lines
451 B
JavaScript
|
const { compilerOptions } = require('./tsconfig.json');
|
||
|
|
||
|
/** @type {import('jest').Config} */
|
||
|
module.exports = {
|
||
|
verbose: true,
|
||
|
preset: 'ts-jest',
|
||
|
testEnvironment: 'node',
|
||
|
testRegex: '\\.(test|spec)\\.(js|ts)$',
|
||
|
testPathIgnorePatterns: ['/dist/', '/node_modules/'],
|
||
|
globals: {
|
||
|
'ts-jest': {
|
||
|
isolatedModules: true,
|
||
|
tsconfig: {
|
||
|
...compilerOptions,
|
||
|
declaration: false,
|
||
|
sourceMap: false,
|
||
|
skipLibCheck: true,
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
};
|