ConceptCreator/jest.config.js

16 lines
305 B
JavaScript
Raw Normal View History

2024-01-26 23:07:40 +01:00
const esModules = [].join('|');
module.exports = {
rootDir : './src',
transformIgnorePatterns: [`<rootDir>/node_modules/(?!${esModules})`],
transform: {
'^.+\\.tsx?$': [
'ts-jest',
{
allowSyntheticDefaultImports: true,
},
],
'^.+\\.js$': 'babel-jest',
},
};