Skip to content

Commit 4651a5b

Browse files
committed
reformat to pass lint
1 parent f9f6ff8 commit 4651a5b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1289,8 +1289,8 @@ apiDescribe('Queries', (persistence: boolean) => {
12891289
});
12901290
});
12911291

1292-
// eslint-disable-next-line no-restricted-properties
12931292
// Reproduces https://github.com/firebase/firebase-js-sdk/issues/5873
1293+
// eslint-disable-next-line no-restricted-properties
12941294
(persistence ? describe : describe.skip)('Caching empty results ', () => {
12951295
it('can cache empty query results', () => {
12961296
return withTestCollection(persistence, {}, async coll => {
@@ -1317,7 +1317,7 @@ apiDescribe('Queries', (persistence: boolean) => {
13171317
expect(snapshot1.metadata.fromCache).to.be.false;
13181318
expect(toDataArray(snapshot1)).to.deep.equal([{ key: 'a' }]);
13191319
//empty the collection
1320-
deleteDoc(doc(coll, 'a'));
1320+
void deleteDoc(doc(coll, 'a'));
13211321

13221322
// Add a snapshot listener whose first event should be raised from cache.
13231323
const storeEvent = new EventsAccumulator<QuerySnapshot>();
@@ -1342,7 +1342,7 @@ apiDescribe('Queries', (persistence: boolean) => {
13421342
await storeEvent.awaitEvent();
13431343

13441344
await disableNetwork(firestore);
1345-
deleteDoc(doc(coll, 'a'));
1345+
void deleteDoc(doc(coll, 'a'));
13461346
await enableNetwork(firestore);
13471347

13481348
const snapshot = await storeEvent.awaitEvent();
@@ -1365,7 +1365,7 @@ apiDescribe('Queries', (persistence: boolean) => {
13651365
const storeEvent = new EventsAccumulator<QuerySnapshot>();
13661366
onSnapshot(coll, storeEvent.storeEvent);
13671367
await storeEvent.awaitEvent();
1368-
deleteDoc(doc(coll, 'a'));
1368+
void deleteDoc(doc(coll, 'a'));
13691369
await enableNetwork(firestore);
13701370

13711371
const snapshot = await storeEvent.awaitEvent();

0 commit comments

Comments
 (0)