Skip to content

Commit 49f3a95

Browse files
committed
update spec tests
1 parent 78d92d2 commit 49f3a95

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/firestore/test/unit/specs/limbo_spec.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -889,6 +889,7 @@ describeSpec('Limbo Documents:', [], () => {
889889
// to just send the docBs with an existence filter with a count of 3.
890890
.watchSends({ affects: [query1] }, docB1, docB2, docB3)
891891
.watchFilters([query1], [docB1.key, docB2.key, docB3.key])
892+
.watchCurrents(query1, 'resume-token-1001')
892893
.watchSnapshots(1001)
893894
.expectEvents(query1, {
894895
added: [docB1, docB2, docB3],
@@ -968,6 +969,7 @@ describeSpec('Limbo Documents:', [], () => {
968969
[docB1.key, docB2.key, docB3.key],
969970
bloomFilterProto
970971
)
972+
.watchCurrents(query1, 'resume-token-1001')
971973
.watchSnapshots(1001)
972974
.expectEvents(query1, {
973975
added: [docB1, docB2, docB3],
@@ -978,8 +980,6 @@ describeSpec('Limbo Documents:', [], () => {
978980
// existence filter mismatch. Bloom filter checks membership of the
979981
// docs, and filters out docAs, while docBs returns true. Number of
980982
// existing docs matches the expected count, so skip the re-query.
981-
.watchCurrents(query1, 'resume-token-1002')
982-
.watchSnapshots(1002)
983983
// The docAs are now in limbo; the client begins limbo resolution.
984984
.expectLimboDocs(docA1.key, docA2.key)
985985
.expectEnqueuedLimboDocs(docA3.key)

packages/firestore/test/unit/specs/limit_spec.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,7 @@ describeSpec('Limits:', [], () => {
343343
// out of sync.
344344
.watchSends({ affects: [limitQuery] }, secondDocument)
345345
.watchFilters([limitQuery], [secondDocument.key])
346+
.watchCurrents(limitQuery, 'resume-token-1004')
346347
.watchSnapshots(1004)
347348
.expectActiveTargets({
348349
query: limitQuery,

0 commit comments

Comments
 (0)