yarn add --dev @react-native/assets-registry
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/assets
.