monerod-gui/jest.config.js

16 lines
305 B
JavaScript
Raw Normal View History

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