Skip to content

Commit 5596625

Browse files
Add comment
1 parent 4f52d66 commit 5596625

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/firestore/test/unit/local/indexeddb_persistence.test.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1225,6 +1225,8 @@ describe('IndexedDb', () => {
12251225
it('can re-open after close', async () => {
12261226
return withDb(2, async db => {
12271227
db.close();
1228+
// Running a new IndexedDB transaction should re-open the database and not
1229+
// throw.
12281230
await db.runTransaction('readwrite', V1_STORES, () =>
12291231
PersistencePromise.resolve()
12301232
);

0 commit comments

Comments
 (0)