Skip to content

Commit dd97567

Browse files
committed
firestore change
1 parent 61fd8a8 commit dd97567

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/firestore/src/api/database.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export class Firestore extends LiteFirestore {
121121
// usage throws an exception.
122122
configureFirestore(this);
123123
}
124-
return null;
124+
return this._firestoreClient!.terminate();
125125
}
126126
}
127127

packages/firestore/test/integration/api/database.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,7 @@ apiDescribe('Database', persistence => {
831831
expect(snap.data()).to.deep.equal(changedData);
832832
// This event could be a metadata change for fromCache as well.
833833
// We comment this line out to reduce flakiness.
834+
834835
// TODO(b/295872012): Figure out a way to check for all scenarios.
835836
// expect(snap.metadata.hasPendingWrites).to.be.false;
836837
});

0 commit comments

Comments
 (0)