Skip to content

Commit 51b3a44

Browse files
committed
query.test.ts: remove 'return await' idiom, as suggested by eslint: https://eslint.org/docs/latest/rules/no-return-await
1 parent ac5b3c5 commit 51b3a44

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2105,9 +2105,7 @@ apiDescribe('Queries', (persistence: boolean) => {
21052105
// mismatches to verify that Watch sent a bloom filter, and it was used to
21062106
// avert a full requery.
21072107
const [existenceFilterMismatches, snapshot2] =
2108-
await captureExistenceFilterMismatches(async () => {
2109-
return await getDocs(coll);
2110-
});
2108+
await captureExistenceFilterMismatches(() => getDocs(coll));
21112109

21122110
// Verify that the snapshot from the resumed query contains the expected
21132111
// documents; that is, that it contains the 50 documents that were _not_

0 commit comments

Comments
 (0)