mirror of
https://github.com/everoddandeven/monerod-gui.git
synced 2024-12-22 11:39:25 +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',
|
|
},
|
|
};
|