Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidt-sebastian committed Aug 5, 2020
1 parent 4f52d66 commit 5596625
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1225,6 +1225,8 @@ describe('IndexedDb', () => {
it('can re-open after close', async () => {
return withDb(2, async db => {
db.close();
// Running a new IndexedDB transaction should re-open the database and not
// throw.
await db.runTransaction('readwrite', V1_STORES, () =>
PersistencePromise.resolve()
);
Expand Down

0 comments on commit 5596625

Please sign in to comment.