diff --git a/packages/react-scripts/scripts/utils/createJestConfig.js b/packages/react-scripts/scripts/utils/createJestConfig.js index 201059f37c1..aca7188ed72 100644 --- a/packages/react-scripts/scripts/utils/createJestConfig.js +++ b/packages/react-scripts/scripts/utils/createJestConfig.js @@ -39,7 +39,7 @@ module.exports = (resolve, rootDir) => { '^(?!.*\\.(css|json)$)': resolve('config/jest/fileTransform.js'), }, transformIgnorePatterns: [ - '[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tssx)$', + '[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$', ], moduleNameMapper: { '^react-native$': 'react-native-web',