We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c3ddb4 commit 2a86dd3Copy full SHA for 2a86dd3
packages/firestore/test/unit/specs/limit_spec.test.ts
@@ -201,12 +201,18 @@ describeSpec('Limits:', [], () => {
201
const doc3 = doc('collection/c', 1003, { matches: true });
202
return spec()
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
.userListens(fullQuery)
210
+ .expectEvents(fullQuery, { added: [doc1, doc2], fromCache: true })
211
.watchAcksFull(fullQuery, 1003, doc1, doc2, doc3)
- .expectEvents(fullQuery, { added: [doc1, doc2, doc3] })
212
+ .expectEvents(fullQuery, { added: [doc3] })
213
.userUnlistens(fullQuery)
214
.userSets('collection/a', { matches: false })
- .userListens(limitQuery)
215
+ .userListens(limitQuery, 'resume-token-1002')
216
.expectEvents(limitQuery, { added: [doc2, doc3], fromCache: true });
217
}
218
);
0 commit comments