Open yaron1m opened 5 years ago
was trying to run detox sample test on my app, which is using:
Expo Typescript Jest And I always get the following error:
ReferenceError: device is not defined at Object.reloadApp (../node_modules/detox-expo-helpers/index.js:68:3)
When I added the following require: const { device } = require('detox'); The issue was solved.
const { device } = require('detox');
Submitted #12
was trying to run detox sample test on my app, which is using:
Expo Typescript Jest And I always get the following error:
When I added the following require:
const { device } = require('detox');
The issue was solved.