mirror of
https://github.com/everoddandeven/monerod-gui.git
synced 2024-10-30 02:37:36 +00:00
15 lines
305 B
JavaScript
15 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',
|
|
},
|
|
};
|