Skip to content

[RN][Jest] Fix tests for React 19#45007

Closed
cipolleschi wants to merge 1 commit into
mainfrom
cipolleschi/fix_tests
Closed

[RN][Jest] Fix tests for React 19#45007
cipolleschi wants to merge 1 commit into
mainfrom
cipolleschi/fix_tests

Conversation

@cipolleschi
Copy link
Copy Markdown
Contributor

Summary:

Qhile landing the changes for React19 in 0.75, we missed one test that needs to be updated

Changelog:

[Internal] - Fix Jest tests in React 19

Test Plan:

CircleCI is green

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Jun 17, 2024
@cipolleschi cipolleschi force-pushed the cipolleschi/fix_tests branch from c7fc674 to 66d75b0 Compare June 17, 2024 13:13
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't need the returns here, otherwise LGTM

Suggested change
return await ReactTestRenderer.act(() => { return ReactTestRenderer.create(<App />) })
await ReactTestRenderer.act(() => {
ReactTestRenderer.create(<App />);
});

@cipolleschi cipolleschi force-pushed the cipolleschi/fix_tests branch from 66d75b0 to ec94b3b Compare June 17, 2024 13:18
@cipolleschi cipolleschi force-pushed the cipolleschi/fix_tests branch from ec94b3b to 31ba14c Compare June 17, 2024 13:31
@facebook-github-bot
Copy link
Copy Markdown
Contributor

@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jun 17, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

@cipolleschi merged this pull request in 16380aa.

@github-actions
Copy link
Copy Markdown

This pull request was successfully merged by @cipolleschi in 16380aa.

When will my fix make it into a release? | How to file a pick request?

@cipolleschi cipolleschi deleted the cipolleschi/fix_tests branch March 3, 2025 15:10
edtech000001 added a commit to edtech000001/amixos that referenced this pull request Apr 26, 2026
…t crash

RN 0.74.1's privacy_manifest_utils.rb crashes during pod install with
"undefined method `each' for nil:NilClass" when one of the dependent
pods doesn't expose an aggregated_privacy_manifest_pod. This blocks
the EAS dev client build at the post-install hook.

Fixed in RN 0.74.5 (facebook/react-native#45007).
Bumping patch version on all three workspaces (mobile, web, root) so
npm hoists a single 0.74.5 to root node_modules.

Verified: tsc clean on both, next build clean.

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants