Files
mobile/e2e/init.js
Radek Czemerys 6783d2e406 Eslint + prettier (#250)
* Android upgrade

* iOS setup without flipper

* Add Bridging headers

* Bring back AsyncStorage limit

* Remove submodules

* Remove files from vendor

* Use dependencies from forks

* Update init command

* Remove unused libraries

* Working iOS setup

* Update AppDelegate.m

* Use new flipper

* Add lint deps

* Proper eslint + prettier setup

* Fix workflow path

* gitlab => github
2020-04-21 19:19:23 +02:00

21 lines
409 B
JavaScript

/* eslint-disable no-undef */
const detox = require('detox');
const config = require('../package.json').detox;
const adapter = require('detox/runners/mocha/adapter');
before(async () => {
await detox.init(config);
});
beforeEach(async function () {
await adapter.beforeEach(this);
});
afterEach(async function () {
await adapter.afterEach(this);
});
after(async () => {
await detox.cleanup();
});