16 lines
305 B
JavaScript
16 lines
305 B
JavaScript
const esModules = [].join('|');
|
|
|
|
module.exports = {
|
|
rootDir : './src',
|
|
transformIgnorePatterns: [`<rootDir>/node_modules/(?!${esModules})`],
|
|
transform: {
|
|
'^.+\\.tsx?$': [
|
|
'ts-jest',
|
|
{
|
|
allowSyntheticDefaultImports: true,
|
|
},
|
|
],
|
|
'^.+\\.js$': 'babel-jest',
|
|
},
|
|
};
|