[tests] new test infra

This commit is contained in:
Salakar 2018-03-25 07:45:19 +01:00
parent ebdea3d68f
commit 1572aa10a2
3 changed files with 1 additions and 13 deletions

View File

@ -6,7 +6,6 @@ describe('firestore.runTransaction', () => {
});
it('should set, update and delete transactionally and allow a return value', async () => {
const firebase = bridge.module;
let deleteMe = false;
const firestore = firebase.firestore();

View File

@ -13,19 +13,8 @@ after(async () => {
await detox.cleanup();
});
// bridge.beforeContextReset = () => {
// console.log('hello');
// };
Object.defineProperty(global, 'firebase', {
get() {
return bridge.module;
},
set() {
// do nothing
},
});
// Object.defineProperty(global, 'firebase', { value: undefined });
// delete global.firebase;

View File

@ -1,6 +1,6 @@
--recursive
--timeout 120000
--slow 2000
--slow 2200
--bail
--exit
--require ./bridge/env/node