Skip to content

Commit 618e3c2

Browse files
committed
format
1 parent 1615df9 commit 618e3c2

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@ apiDescribe('Database', persistence => {
12051205
onSnapshot(docA, () => deferred2.resolve());
12061206
});
12071207
});
1208-
return Promise.all([deferred1.promise, deferred2.promise]).then(() => { });
1208+
return Promise.all([deferred1.promise, deferred2.promise]).then(() => {});
12091209
});
12101210
});
12111211

@@ -1669,7 +1669,7 @@ apiDescribe('Database', persistence => {
16691669
const queryForRejection = collection(db, 'a/__badpath__/b');
16701670
onSnapshot(
16711671
queryForRejection,
1672-
() => { },
1672+
() => {},
16731673
(err: Error) => {
16741674
expect(err.name).to.exist;
16751675
expect(err.message).to.exist;
@@ -1686,13 +1686,13 @@ apiDescribe('Database', persistence => {
16861686
const queryForRejection = collection(db, 'a/__badpath__/b');
16871687
onSnapshot(
16881688
queryForRejection,
1689-
() => { },
1689+
() => {},
16901690
(err: Error) => {
16911691
expect(err.name).to.exist;
16921692
expect(err.message).to.exist;
16931693
onSnapshot(
16941694
queryForRejection,
1695-
() => { },
1695+
() => {},
16961696
(err2: Error) => {
16971697
expect(err2.name).to.exist;
16981698
expect(err2.message).to.exist;
@@ -2107,7 +2107,7 @@ apiDescribe('Database', persistence => {
21072107
it('can query after firestore restart', async () => {
21082108
return withTestDoc(persistence, async (docRef, firestore) => {
21092109
const deferred: Deferred<FirestoreError> = new Deferred();
2110-
const unsubscribe = onSnapshot(docRef, snapshot => { }, deferred.resolve);
2110+
const unsubscribe = onSnapshot(docRef, snapshot => {}, deferred.resolve);
21112111

21122112
await firestore._restart();
21132113

@@ -2127,7 +2127,7 @@ apiDescribe('Database', persistence => {
21272127
it('query listener throws error on termination', async () => {
21282128
return withTestDoc(persistence, async (docRef, firestore) => {
21292129
const deferred: Deferred<FirestoreError> = new Deferred();
2130-
const unsubscribe = onSnapshot(docRef, snapshot => { }, deferred.resolve);
2130+
const unsubscribe = onSnapshot(docRef, snapshot => {}, deferred.resolve);
21312131

21322132
await terminate(firestore);
21332133

@@ -2174,7 +2174,7 @@ apiDescribe('Database', persistence => {
21742174
readonly title: string,
21752175
readonly author: string,
21762176
readonly ref: DocumentReference | null = null
2177-
) { }
2177+
) {}
21782178
byline(): string {
21792179
return this.title + ', by ' + this.author;
21802180
}
@@ -2304,8 +2304,8 @@ apiDescribe('Database', persistence => {
23042304
batch.set(ref, { title: 'olive' }, { merge: true })
23052305
).to.throw(
23062306
'Function WriteBatch.set() called with invalid ' +
2307-
'data (via `toFirestore()`). Unsupported field value: undefined ' +
2308-
'(found in field author in document posts/some-post)'
2307+
'data (via `toFirestore()`). Unsupported field value: undefined ' +
2308+
'(found in field author in document posts/some-post)'
23092309
);
23102310
});
23112311
});

0 commit comments

Comments
 (0)