New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 27.0.0 and above break running snapshots and unit tests in react native project #11474
Comments
See facebook/react-native#30637 /cc @thymikee |
x2 |
I am still experiencing the same behaviour upon upgrading React Native to 0.64.2 and using Jest to 27.0.2 @SimenB |
So what's the minimum react-native version to get it to work with jest 27? |
I'm using v26, not for react-native though and v26 jest, working fine |
@ahsatha Yes, this is a react-native specific problem |
Happening with Vue v2 also.
|
Vue2 the same problem
|
Like with RN, whatever transformer (or preset) you're using with Vue will need to be updated to support the new API from #10834. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
馃挜 Regression Report
Last working version
Worked up to version: 26.6.3
Stopped working in version: >=27.0.0
To Reproduce
Steps to reproduce the behavior:
yarn test:jest
Expected behavior
The default tests bootstraped with
npx react-native init <project>
should pass but they do not and the error below is triggered:Link to repl or repo (highly encouraged)
https://github.com/aryojamousi/JestExampleProject
Run
npx envinfo --preset jest
Paste the results here:
After debugging, the error could be is triggered in the
getCacheKeyFunction
in the builtindex.js
increate-cache-key-function
directory.When the below
gets replaced with
then the tests work as they should.
The text was updated successfully, but these errors were encountered: