Skip to content

Commit b0ea581

Browse files
committed
Clean up some inline comments
1 parent c5f0747 commit b0ea581

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@ describeSpec('Limbo Documents:', [], () => {
997997
spec()
998998
.withGCEnabled(false)
999999

1000-
// Start a limbo resolution listen for a document.
1000+
// Start a limbo resolution listen for a document (doc1).
10011001
.userListens(query1)
10021002
.watchAcksFull(query1, 1000, doc1)
10031003
.expectEvents(query1, { added: [doc1] })
@@ -1008,7 +1008,8 @@ describeSpec('Limbo Documents:', [], () => {
10081008
.expectLimboDocs(doc1.key)
10091009
.expectEnqueuedLimboDocs()
10101010

1011-
// Put the same document into limbo in a different query.
1011+
// Put doc1 into limbo in a different query; verify that another limbo
1012+
// resolution is neither started nor enqueued.
10121013
.userListens(filteredQuery2)
10131014
.expectEvents(filteredQuery2, { added: [doc1], fromCache: true })
10141015
.watchAcksFull(filteredQuery2, 1002)
@@ -1045,7 +1046,7 @@ describeSpec('Limbo Documents:', [], () => {
10451046
.watchAcksFull(filteredQuery1, 1001)
10461047
.expectLimboDocs(doc1.key)
10471048

1048-
// Start a limbo resolution listen for a different document.
1049+
// Start a limbo resolution listen for a different document (doc2).
10491050
.userListens(query2)
10501051
.watchAcksFull(query2, 1002, doc2)
10511052
.expectEvents(query2, { added: [doc2] })
@@ -1056,9 +1057,8 @@ describeSpec('Limbo Documents:', [], () => {
10561057
.expectLimboDocs(doc1.key)
10571058
.expectEnqueuedLimboDocs(doc2.key)
10581059

1059-
// Put the the "different" document into limbo in a different query
1060-
// and verify that it's not added to the limbo resolution queue a
1061-
// second time.
1060+
// Put doc2 into limbo in a different query and verify that it's not
1061+
// added to the limbo resolution queue again.
10621062
.userListens(filteredQuery3)
10631063
.expectEvents(filteredQuery3, { added: [doc2], fromCache: true })
10641064
.watchAcksFull(filteredQuery3, 1004)

0 commit comments

Comments
 (0)