Skip to content

Commit

Permalink
fix: babel config glob patterns now match (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Butterworth committed Nov 5, 2019
1 parent 5e8766b commit 52754cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/presets.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ module.exports = {
configFile: getConfigFilepath('jest.config.js'),
},
babel: {
globSearchPattern: '(babel.config.js|.babelrc*)',
globSearchPattern: '+(babel.config.js|.babelrc*)',
configFile: getConfigFilepath('babel.config.js'),
},
'babel-preserve-modules': {
globSearchPattern: '(babel.config.js|.babelrc*)',
globSearchPattern: '+(babel.config.js|.babelrc*)',
configFile: getConfigFilepath('babel-preserve-modules.config.js'),
},
'webpack-prod': {
Expand Down

0 comments on commit 52754cb

Please sign in to comment.