Skip to content

Commit

Permalink
Revert "Merge pull request #432 from klougod/fix-jest-425"
Browse files Browse the repository at this point in the history
This reverts commit df837e0, reversing
changes made to 85ed4c1.

bump version

bump version
  • Loading branch information
dilanx committed Jul 7, 2022
1 parent b3d49ea commit 5200879
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -53,7 +53,7 @@ function createJestBabelTransform(cracoConfig) {
}
}
}
return babelJest.default.createTransformer(craBabelTransformer);
return babelJest.createTransformer(craBabelTransformer);
}

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion packages/craco/lib/features/jest/jest-babel-transform.js
Expand Up @@ -9,7 +9,7 @@ module.exports = {
...createJestBabelTransform(),
process(src, filename, config, transformOptions) {
if (!jestBabelTransform) {
jestBabelTransform = createJestBabelTransform(config._cracoConfig);
jestBabelTransform = createJestBabelTransform(config.globals._cracoConfig);
}

return jestBabelTransform.process(src, filename, config, transformOptions);
Expand Down
2 changes: 1 addition & 1 deletion packages/craco/package.json
@@ -1,7 +1,7 @@
{
"name": "@craco/craco",
"description": "Create React App Configuration Override, an easy and comprehensible configuration layer for create-react-app.",
"version": "6.4.4",
"version": "6.4.5",
"scripts": {},
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit 5200879

Please sign in to comment.