Skip to content

Commit 45a9243

Browse files
committed
enable debug logging in integration tests
1 parent 3eb9059 commit 45a9243

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/firestore/test/integration/util/firebase_export.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
// reference to the minified sources. If you change any exports in this file,
2121
// you need to also adjust "integration/firestore/firebase_export.ts".
2222

23-
import { FirebaseApp, initializeApp } from '@firebase/app';
23+
import { FirebaseApp, initializeApp, setLogLevel } from '@firebase/app';
2424

2525
import { Firestore, initializeFirestore } from '../../../src';
2626
import { PrivateSettings } from '../../../src/lite-api/settings';
@@ -29,6 +29,8 @@ import { PrivateSettings } from '../../../src/lite-api/settings';
2929
// every test and never clean them up. We may need to revisit.
3030
let appCount = 0;
3131

32+
setLogLevel('debug');
33+
3234
export function newTestApp(projectId: string, appName?: string): FirebaseApp {
3335
if (appName === undefined) {
3436
appName = 'test-app-' + appCount++;

0 commit comments

Comments
 (0)