@@ -1289,8 +1289,8 @@ apiDescribe('Queries', (persistence: boolean) => {
1289
1289
} ) ;
1290
1290
} ) ;
1291
1291
1292
- // eslint-disable-next-line no-restricted-properties
1293
1292
// Reproduces https://github.com/firebase/firebase-js-sdk/issues/5873
1293
+ // eslint-disable-next-line no-restricted-properties
1294
1294
( persistence ? describe : describe . skip ) ( 'Caching empty results ' , ( ) => {
1295
1295
it ( 'can cache empty query results' , ( ) => {
1296
1296
return withTestCollection ( persistence , { } , async coll => {
@@ -1317,7 +1317,7 @@ apiDescribe('Queries', (persistence: boolean) => {
1317
1317
expect ( snapshot1 . metadata . fromCache ) . to . be . false ;
1318
1318
expect ( toDataArray ( snapshot1 ) ) . to . deep . equal ( [ { key : 'a' } ] ) ;
1319
1319
//empty the collection
1320
- deleteDoc ( doc ( coll , 'a' ) ) ;
1320
+ void deleteDoc ( doc ( coll , 'a' ) ) ;
1321
1321
1322
1322
// Add a snapshot listener whose first event should be raised from cache.
1323
1323
const storeEvent = new EventsAccumulator < QuerySnapshot > ( ) ;
@@ -1342,7 +1342,7 @@ apiDescribe('Queries', (persistence: boolean) => {
1342
1342
await storeEvent . awaitEvent ( ) ;
1343
1343
1344
1344
await disableNetwork ( firestore ) ;
1345
- deleteDoc ( doc ( coll , 'a' ) ) ;
1345
+ void deleteDoc ( doc ( coll , 'a' ) ) ;
1346
1346
await enableNetwork ( firestore ) ;
1347
1347
1348
1348
const snapshot = await storeEvent . awaitEvent ( ) ;
@@ -1365,7 +1365,7 @@ apiDescribe('Queries', (persistence: boolean) => {
1365
1365
const storeEvent = new EventsAccumulator < QuerySnapshot > ( ) ;
1366
1366
onSnapshot ( coll , storeEvent . storeEvent ) ;
1367
1367
await storeEvent . awaitEvent ( ) ;
1368
- deleteDoc ( doc ( coll , 'a' ) ) ;
1368
+ void deleteDoc ( doc ( coll , 'a' ) ) ;
1369
1369
await enableNetwork ( firestore ) ;
1370
1370
1371
1371
const snapshot = await storeEvent . awaitEvent ( ) ;
0 commit comments