From 538d527e4a6b133af09adb46b01d20d7a06c59f5 Mon Sep 17 00:00:00 2001 From: Jeroen Claassens Date: Sat, 6 Jun 2020 16:21:54 +0200 Subject: [PATCH] feat(react-scripts): allow testMatch for jest config (#9114) resolves #8637 --- packages/react-scripts/scripts/utils/createJestConfig.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react-scripts/scripts/utils/createJestConfig.js b/packages/react-scripts/scripts/utils/createJestConfig.js index 0b65e3c38be..78a63571b26 100644 --- a/packages/react-scripts/scripts/utils/createJestConfig.js +++ b/packages/react-scripts/scripts/utils/createJestConfig.js @@ -87,6 +87,7 @@ module.exports = (resolve, rootDir, isEjecting) => { 'resetModules', 'restoreMocks', 'snapshotSerializers', + 'testMatch', 'transform', 'transformIgnorePatterns', 'watchPathIgnorePatterns',