verdnatura-chat/e2e/init.js

12 lines
249 B
JavaScript
Raw Permalink Normal View History

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