fix: add missing jest-preset.js export#55618
Conversation
|
Updated summary to |
cortinico
left a comment
There was a problem hiding this comment.
Review automatically exported from Phabricator review in Meta.
|
This pull request was successfully merged by @mdjastrzebski in 55984e2 When will my fix make it into a release? | How to file a pick request? |
|
Was it included in 0.85.0-rc.0? Here I can see that it should be, but when I create new app with |
|
@m-bert Yes I believe so. cc @alanleedev in case there's any release integration issue with this (e.g. template).
|
In that case I don't know why it doesn't work in my case. It also caused our test CI to fail. Is there anything else that I should do, other than steps from upgrade helper? |
|
Oh okay, I think I've found what's wrong. Default template does not include Same with upgrade helper, it doesn't say that |

Summary:
The new
@react-native/jest-presetpackage did not include criticaljest-present.jsfile in the exported version: https://www.npmjs.com/package/@react-native/jest-preset?activeTab=codeWithout this the new preset is not usable, and the old preset is no longer available (in nightly versions)
Changelog: [Internal]
Test Plan: