diff --git a/config/jest/babelTransform.js b/config/jest/babelTransform.js index e9ecfa73..dabf5a8c 100644 --- a/config/jest/babelTransform.js +++ b/config/jest/babelTransform.js @@ -15,7 +15,7 @@ const hasJsxRuntime = (() => { } })(); -module.exports = babelJest.default.createTransformer({ +module.exports = babelJest.createTransformer({ presets: [ [ require.resolve('babel-preset-react-app'),