Ensured react-leaflet is transformed with jest, until updated to jest 28

This commit is contained in:
Alejandro Celaya 2022-04-24 11:21:01 +02:00
parent 271b19a4ec
commit 6aee08b866

View file

@ -25,7 +25,7 @@ module.exports = {
}, },
transformIgnorePatterns: [ transformIgnorePatterns: [
'<rootDir>/.stryker-tmp', '<rootDir>/.stryker-tmp',
'[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$', '/node_modules\\/(?!react-leaflet)\.(js|jsx|ts|tsx)$',
'^.+\\.module\\.scss$', '^.+\\.module\\.scss$',
], ],
moduleNameMapper: { moduleNameMapper: {