11 lines
185 B
JavaScript
11 lines
185 B
JavaScript
|
const detox = require('detox');
|
||
|
const config = require('../package.json').detox;
|
||
|
|
||
|
before(async () => {
|
||
|
await detox.init(config);
|
||
|
});
|
||
|
|
||
|
after(async () => {
|
||
|
await detox.cleanup();
|
||
|
});
|