Skip to content

Commit 76095aa

Browse files
committed
pretty
1 parent 9e9f7f2 commit 76095aa

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

packages/firestore-compat/test/bundle.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,9 @@ apiDescribe('Bundles', (persistence: boolean) => {
188188
await db.doc('coll-1/b').set({ k: 'b', bar: 0 });
189189

190190
const accumulator = new EventsAccumulator<firestore.QuerySnapshot>();
191-
const unsubscribe = db.collection('coll-1').onSnapshot(accumulator.storeEvent);
191+
const unsubscribe = db
192+
.collection('coll-1')
193+
.onSnapshot(accumulator.storeEvent);
192194
await accumulator.awaitEvent();
193195

194196
const progress = await db.loadBundle(

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,11 @@ apiDescribe('Database', persistence => {
11041104
return withTestCollection(persistence, {}, async col => {
11051105
const docA = doc(col);
11061106
const storeEvent = new EventsAccumulator<DocumentSnapshot>();
1107-
const unsubscribe = onSnapshot(docA, { includeMetadataChanges: true }, storeEvent.storeEvent);
1107+
const unsubscribe = onSnapshot(
1108+
docA,
1109+
{ includeMetadataChanges: true },
1110+
storeEvent.storeEvent
1111+
);
11081112
await storeEvent
11091113
.awaitEvent()
11101114
.then(snap => {

0 commit comments

Comments
 (0)