mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
5126bace65
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/43377 Fixes `VirtualizedList-test.js`, which assumes fake timers (e.g. using `jest.runAllTimers()` and `jest.runOnlyPendingTimers()`) but did not actually use fake timers. Changelog: [Internal] Reviewed By: yungsters Differential Revision: D54668281 fbshipit-source-id: b14757744bb7a21a4e5573053549c36178826021
@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.