mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Migrate `VirtualizedSectionList-test` to use `act`-wrapping in prepation for React 19. Avoid the `react-native/jest/renderer` abstractions as this is a separate package. Changelog: [Internal] Reviewed By: yungsters Differential Revision: D58653558 fbshipit-source-id: 0e19fff5c3998fb00b71c3d07100a2064682cb4c
@react-native/virtualized-lists
Installation
yarn add @react-native/virtualized-lists
Note: We're using yarn to install deps. Feel free to change commands to use npm 3+ and npx if you like
Testing
To run the tests in this package, run the following commands from the React Native root folder:
yarnto install the dependencies. You just need to run this onceyarn jest packages/virtualized-lists.