Skip to content

Commit 52754cb

Browse files
author
Adam Butterworth
authored
fix: babel config glob patterns now match (#18)
1 parent 5e8766b commit 52754cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/presets.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ module.exports = {
1414
configFile: getConfigFilepath('jest.config.js'),
1515
},
1616
babel: {
17-
globSearchPattern: '(babel.config.js|.babelrc*)',
17+
globSearchPattern: '+(babel.config.js|.babelrc*)',
1818
configFile: getConfigFilepath('babel.config.js'),
1919
},
2020
'babel-preserve-modules': {
21-
globSearchPattern: '(babel.config.js|.babelrc*)',
21+
globSearchPattern: '+(babel.config.js|.babelrc*)',
2222
configFile: getConfigFilepath('babel-preserve-modules.config.js'),
2323
},
2424
'webpack-prod': {

0 commit comments

Comments
 (0)