Skip to content

Commit cfb6cc3

Browse files
committed
fix snippet
1 parent da1e188 commit cfb6cc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firestore-next/test.firestore.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ describe("firestore", () => {
8484

8585
// [START initialize_persistence]
8686
// Memory cache is the default if no config is specified.
87-
initializeFirestore(app);
87+
initializeFirestore(app, {});
8888

8989
// This is the default behavior if no persistence is specified.
9090
initializeFirestore(app, {localCache: memoryLocalCache()});
@@ -96,7 +96,7 @@ describe("firestore", () => {
9696
// but more explicit about tab management.
9797
initializeFirestore(app,
9898
{localCache:
99-
persistentLocalCache(/*settings*/{tabManager: persistentSingleTabManager()})
99+
persistentLocalCache(/*settings*/{tabManager: persistentSingleTabManager({})})
100100
});
101101

102102
// Use multi-tab IndexedDb persistence.

0 commit comments

Comments
 (0)