2
0
mirror of synced 2025-01-11 14:44:12 +00:00

[tests][firestore] add enableLogging tests

This commit is contained in:
Salakar 2018-04-16 18:24:11 +01:00
parent f4832410bb
commit 09a2db6267

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