Rocket.Chat.ReactNative/e2e/tests/onboarding/init.js

11 lines
276 B
JavaScript
Raw Normal View History

2018-05-23 13:39:18 +00:00
const detox = require('detox');
const config = require('../../../package.json').detox;
2018-05-23 13:39:18 +00:00
before(async() => {
2019-01-29 19:52:56 +00:00
await detox.init(config, { launchApp: false });
2018-05-23 13:39:18 +00:00
await device.launchApp({ permissions: { notifications: 'YES' } });
});
after(async() => {
await detox.cleanup();
});