[tests][firestore] add enableLogging tests

This commit is contained in:
Salakar 2018-04-16 18:24:11 +01:00
parent f4832410bb
commit 09a2db6267
1 changed files with 3 additions and 0 deletions

View File

@ -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', () => {