mirror of
https://github.com/standardnotes/mobile.git
synced 2026-04-19 21:58:51 -04:00
20 lines
379 B
JavaScript
20 lines
379 B
JavaScript
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();
|
|
});
|