diff --git a/tests-new/e2e/firestore/transactions.e2e.js b/tests-new/e2e/firestore/transactions.e2e.js index f6d716b1..9d8c625c 100644 --- a/tests-new/e2e/firestore/transactions.e2e.js +++ b/tests-new/e2e/firestore/transactions.e2e.js @@ -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(); diff --git a/tests-new/e2e/init.js b/tests-new/e2e/init.js index 0ec9edc7..c54e28f9 100755 --- a/tests-new/e2e/init.js +++ b/tests-new/e2e/init.js @@ -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; diff --git a/tests-new/e2e/mocha.opts b/tests-new/e2e/mocha.opts index fdb7df9f..bd8c68a6 100755 --- a/tests-new/e2e/mocha.opts +++ b/tests-new/e2e/mocha.opts @@ -1,6 +1,6 @@ --recursive --timeout 120000 ---slow 2000 +--slow 2200 --bail --exit --require ./bridge/env/node