Skip to content

Commit

Permalink
Merge pull request facebook#82 from zinserjan/fix-tsx-extension
Browse files Browse the repository at this point in the history
Fix transform ignore pattern for tsx
  • Loading branch information
wmonk authored Jun 13, 2017
2 parents 459132a + ad61449 commit 6fcb014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-scripts/scripts/utils/createJestConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 6fcb014

Please sign in to comment.