Utilities for using detox in your Expo/Create React Native App apps.
yarn add detox-expo-helpers -D
# or
npm i detox-expo-helpers --save-dev
Also, declare expo-detox-hooks
in your project's package.json
.
Follow the steps in the detox Getting Started guide.
You can download the Expo app from the Expo Tools page. See an example package.json configuration
All you really need to use is reloadApp
, like so: https://github.com/expo/with-detox-tests/blob/master/e2e/firstTest.spec.js#L1-L6
Try out an example app with this already configured at https://github.com/expo/with-detox-tests