From 09a2db6267f6946107dec6f6cf330d3fa17169f8 Mon Sep 17 00:00:00 2001 From: Salakar Date: Mon, 16 Apr 2018 18:24:11 +0100 Subject: [PATCH] [tests][firestore] add enableLogging tests --- bridge/e2e/firestore/firestore.e2e.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bridge/e2e/firestore/firestore.e2e.js b/bridge/e2e/firestore/firestore.e2e.js index e428f157..16787d80 100644 --- a/bridge/e2e/firestore/firestore.e2e.js +++ b/bridge/e2e/firestore/firestore.e2e.js @@ -47,6 +47,9 @@ describe('firestore()', () => { firebase.firestore.setLogLevel('debug'); firebase.firestore.setLogLevel('error'); firebase.firestore.setLogLevel('silent'); + // test deprecated method + firebase.firestore.enableLogging(true); + firebase.firestore.enableLogging(false); }); it('should throw an invalid parameter error', () => {