Skip to content

Commit 6854745

Browse files
Add commit count assert
1 parent e78cfd5 commit 6854745

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ describe('IndexedDbTransaction', () => {
6767
++commitCount;
6868
});
6969

70+
expect(commitCount).to.equal(0);
71+
7072
++runCount;
7173
if (runCount == 1) {
7274
// Trigger a unique key violation

0 commit comments

Comments
 (0)