yarn add @react-native/js-polyfills
Note: We're using yarn
to install deps. Feel free to change commands to use npm
3+ and npx
if you like
To run the tests in this package, run the following commands from the React Native root folder:
-
yarn
to install the dependencies. You just need to run this once -
yarn jest packages/polyfills
.