jest-expo32.0.1 • Public • Published
A Jest preset to painlessly test your Expo apps.
If you have problems with the code in this repository, please file issues & bug reports at https://github.com/expo/expo. Thanks!
yarn add jest-expo --devor
npm i jest-expo --save-dev
Add the following config to
package.json:"scripts":"test": "node_modules/.bin/jest""jest":"preset": "jest-expo"
__tests__directory anywhere you like and a
Example-test.jsfile inside of it, and add this code:;
npm testand it should pass