Rocket.Chat.ReactNative/e2e/init.js

12 lines
271 B
JavaScript
Raw Normal View History

2018-05-23 13:39:18 +00:00
const detox = require('detox');
const config = require('../package.json').detox;
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();
});