mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
dceda565bd
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/43458 The React sync in D54783723 was failing because some tests were relying on `console.error` being called as `console.error('Some message')` but it was refactored as `console.error('%s..', 'Some message')`, making them fail. This fixes the tests by formatting the arguments passed to the console functions and checking against that instead. Changelog: [internal] Reviewed By: sammy-SC Differential Revision: D54849485 fbshipit-source-id: 0648263614725ea3f9c95b9f9bb13005adae46eb
@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.