We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2f129e commit 8a72018Copy full SHA for 8a72018
firestore/test.firestore.js
@@ -12,17 +12,13 @@ describe("firestore", () => {
12
});
13
14
it("should be initializable with persistence", () => {
15
- // [START initialize_persistence]
16
firebase.initializeApp({
17
apiKey: '### FIREBASE API KEY ###',
18
authDomain: '### FIREBASE AUTH DOMAIN ###',
19
projectId: '### CLOUD FIRESTORE PROJECT ID ###',
20
- }
21
- // [START_EXCLUDE silent]
22
- ,"persisted_app"
23
- // [END_EXCLUDE]
24
- );
+ } ,"persisted_app");
25
+ // [START initialize_persistence]
26
firebase.firestore().enablePersistence()
27
.catch(function(err) {
28
if (err.code == 'failed-precondition') {
0 commit comments