2019-12-18 04:14:33 +03:00
|
|
|
module.exports = {
|
2021-06-22 22:18:12 +03:00
|
|
|
// 10x perf improvement, see:
|
|
|
|
// https://github.com/kulshekhar/ts-jest/issues/1044
|
|
|
|
// Consider ts-jest isolatedModules for more perf.
|
|
|
|
maxWorkers: 1,
|
|
|
|
|
2019-12-18 04:14:33 +03:00
|
|
|
// testEnvironment: 'node',
|
|
|
|
moduleNameMapper: {
|
|
|
|
'\\.(png|s?css)$': 'identity-obj-proxy'
|
|
|
|
},
|
|
|
|
transform: {
|
|
|
|
'^.+\\.tsx?$': 'ts-jest',
|
|
|
|
'^.+\\.js?$': 'babel-jest',
|
|
|
|
},
|
|
|
|
transformIgnorePatterns: [
|
|
|
|
'node_modules/(?!azure-devops-ui)/'
|
|
|
|
]
|
|
|
|
}
|