forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce
update
and unmount
helpers to `react-native/jest/render…
…er`, use in ScrollView-test (facebook#44998) Summary: Pull Request resolved: facebook#44998 Add async helpers to the existing `jest/renderer` module to wrap `react-test-renderer`'s `update` and `unmount` in `act`. Migrate one test `ScrollView-test` as a usage example and to make it compatible with incoming React 19 concurrency requirements. Changelog: [Internal] Reviewed By: yungsters Differential Revision: D58650989
- Loading branch information
1 parent
a1316cc
commit 621d6d9
Showing
2 changed files
with
36 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters