Socket
Socket
Sign inDemoInstall

detox-expo-helpers

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

detox-expo-helpers

Utilities for using [detox](http://github.com/wix/detox) in your Expo/Create React Native App apps.


Version published
Weekly downloads
1.2K
decreased by-20.34%
Maintainers
2
Weekly downloads
 
Created
Source

detox-expo-helpers

Utilities for using detox in your Expo/Create React Native App apps.

Use it

Install it

yarn add detox-expo-helpers -D
 # or
npm i detox-expo-helpers --save-dev

Also, install expo-detox-cli globally by running npm install -g expo-detox-cli and declare expo-detox-hooks in your project's package.json.

Set up detox on your project

Follow the steps in the detox Getting Started guide.

Download the Expo app to some directory in your project and configure in package.json

You can download the Expo app from the Expo Tools page. See an example package.json configuration

Use detox-expo-helpers in your app

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

Run your test with expotox test (it's basically detox test with an additional env var).

Example app

Try out an example app with this already configured at https://github.com/expo/with-detox-tests

FAQs

Package last updated on 03 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc