From 6aee08b866dfb8742cab1eadea9e9b9b5a54bbb2 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sun, 24 Apr 2022 11:21:01 +0200 Subject: [PATCH] Ensured react-leaflet is transformed with jest, until updated to jest 28 --- jest.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index fa9ddbe4..9a46a4c3 100644 --- a/jest.config.js +++ b/jest.config.js @@ -25,7 +25,7 @@ module.exports = { }, transformIgnorePatterns: [ '/.stryker-tmp', - '[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$', + '/node_modules\\/(?!react-leaflet)\.(js|jsx|ts|tsx)$', '^.+\\.module\\.scss$', ], moduleNameMapper: {