@@ -224,18 +224,20 @@ describeSpec('Existence Filters:', [], () => {
224
224
const query1 = query ( 'collection' ) ;
225
225
const doc1 = doc ( 'collection/1' , 1000 , { v : 1 } ) ;
226
226
const doc2 = doc ( 'collection/2' , 1000 , { v : 2 } ) ;
227
- return spec ( )
228
- . userListens ( query1 )
229
- . watchAcksFull ( query1 , 1000 , doc1 , doc2 )
230
- . expectEvents ( query1 , { added : [ doc1 , doc2 ] } )
231
- . watchFilters ( [ query1 ] , doc1 . key ) // doc2 was deleted
232
- . watchSnapshots ( 2000 )
233
- . expectEvents ( query1 , { fromCache : true } )
234
- // The SDK is unable to re-run the query, and does not remove doc2
235
- . restart ( )
236
- . userListens ( query1 )
237
- // We check that the data is still consistent with the local cache
238
- . expectEvents ( query1 , { added : [ doc1 , doc2 ] , fromCache : true } ) ;
227
+ return (
228
+ spec ( )
229
+ . userListens ( query1 )
230
+ . watchAcksFull ( query1 , 1000 , doc1 , doc2 )
231
+ . expectEvents ( query1 , { added : [ doc1 , doc2 ] } )
232
+ . watchFilters ( [ query1 ] , doc1 . key ) // doc2 was deleted
233
+ . watchSnapshots ( 2000 )
234
+ . expectEvents ( query1 , { fromCache : true } )
235
+ // The SDK is unable to re-run the query, and does not remove doc2
236
+ . restart ( )
237
+ . userListens ( query1 )
238
+ // We check that the data is still consistent with the local cache
239
+ . expectEvents ( query1 , { added : [ doc1 , doc2 ] , fromCache : true } )
240
+ ) ;
239
241
}
240
242
) ;
241
243
} ) ;
0 commit comments