react-native-firebase/bridge/e2e/init.js

13 lines
259 B
JavaScript
Raw Normal View History

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 () => {
console.log('Cleaning up...');
await TestHelpers.firestore.cleanup();
2018-03-23 13:40:07 +00:00
await detox.cleanup();
});