2018-03-23 13:40:07 +00:00
|
|
|
const detox = require('detox');
|
|
|
|
const config = require('../package.json').detox;
|
|
|
|
|
|
|
|
before(async () => {
|
|
|
|
await detox.init(config);
|
|
|
|
});
|
|
|
|
|
|
|
|
after(async () => {
|
2018-04-12 11:53:18 +00:00
|
|
|
console.log('Cleaning up...');
|
|
|
|
await TestHelpers.firestore.cleanup();
|
2018-03-23 13:40:07 +00:00
|
|
|
await detox.cleanup();
|
|
|
|
});
|