Skip to content

Asyncify ReactNativeTestTools.expectRendersMatchingSnapshot#44992

Closed
robhogan wants to merge 5 commits into
facebook:mainfrom
robhogan:export-D58647828
Closed

Asyncify ReactNativeTestTools.expectRendersMatchingSnapshot#44992
robhogan wants to merge 5 commits into
facebook:mainfrom
robhogan:export-D58647828

Conversation

@robhogan
Copy link
Copy Markdown
Contributor

Summary:
To allow for async act in a subsequent diff, make this utility method async and awaited at all call sites.

Changelog: [Internal]

Differential Revision: D58647828

yungsters and others added 4 commits June 16, 2024 11:26
Summary:
Pull Request resolved: facebook#44984

Deletes the `jest/renderer` shallow render helpers.

The commit stack below this already migrated all references to `shallow` and `shallowRender`.

Changelog:
[Internal]

Differential Revision: D58643063
Summary:
Pull Request resolved: facebook#44973

Changes `expectRendersMatchingSnapshot` to no longer make assertions about shallow rendering, because shallow rendering is now deprecated.

Changelog:
[Internal]

Differential Revision: D58643365
Summary:
Pull Request resolved: facebook#44982

Removes `react-shallow-renderer` dependency from the `react-native` package because it is no longer used.

Changelog:
[Internal]

Differential Revision: D58643454
@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 16, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D58647828

…#44992)

Summary:
Pull Request resolved: facebook#44992

To allow for async `act` in a subsequent diff, make this utility method async and awaited at all call sites.

Changelog: [Internal]

Differential Revision: D58647828
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D58647828

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 910e713.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jun 16, 2024
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. fb-exported 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