@@ -201,18 +201,18 @@ describeSpec('Limits:', [], () => {
201
201
const doc3 = doc ( 'collection/c' , 1003 , { matches : true } ) ;
202
202
return spec ( )
203
203
. withGCEnabled ( false )
204
- . userListens ( limitQuery )
205
- . watchAcksFull ( limitQuery , 1002 , doc1 , doc2 )
206
- . expectEvents ( limitQuery , { added : [ doc1 , doc2 ] } )
207
- . userUnlistens ( limitQuery )
208
- . watchRemoves ( limitQuery )
209
204
. userListens ( fullQuery )
210
- . expectEvents ( fullQuery , { added : [ doc1 , doc2 ] , fromCache : true } )
211
205
. watchAcksFull ( fullQuery , 1003 , doc1 , doc2 , doc3 )
212
- . expectEvents ( fullQuery , { added : [ doc3 ] } )
206
+ . expectEvents ( fullQuery , { added : [ doc1 , doc2 , doc3 ] } )
213
207
. userUnlistens ( fullQuery )
208
+ . userListens ( limitQuery )
209
+ . expectEvents ( limitQuery , { added : [ doc1 , doc2 ] , fromCache : true } )
210
+ . watchAcksFull ( limitQuery , 1004 , doc1 , doc2 )
211
+ . expectEvents ( limitQuery , { } )
212
+ . userUnlistens ( limitQuery )
213
+ . watchRemoves ( limitQuery )
214
214
. userSets ( 'collection/a' , { matches : false } )
215
- . userListens ( limitQuery , 'resume-token-1002 ' )
215
+ . userListens ( limitQuery , 'resume-token-1004 ' )
216
216
. expectEvents ( limitQuery , { added : [ doc2 , doc3 ] , fromCache : true } ) ;
217
217
}
218
218
) ;
0 commit comments