Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

Commit 6fcb014

Browse files
authored
Merge pull request #82 from zinserjan/fix-tsx-extension
Fix transform ignore pattern for tsx
2 parents 459132a + ad61449 commit 6fcb014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/react-scripts/scripts/utils/createJestConfig.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module.exports = (resolve, rootDir) => {
3939
'^(?!.*\\.(css|json)$)': resolve('config/jest/fileTransform.js'),
4040
},
4141
transformIgnorePatterns: [
42-
'[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tssx)$',
42+
'[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$',
4343
],
4444
moduleNameMapper: {
4545
'^react-native$': 'react-native-web',

0 commit comments

Comments
 (0)