Skip to content

Commit ae50e1b

Browse files
Add comments
1 parent c276dcc commit ae50e1b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,10 @@ describeSpec('Existence Filters:', [], () => {
231231
.watchFilters([query1], doc1.key) // doc2 was deleted
232232
.watchSnapshots(2000)
233233
.expectEvents(query1, { fromCache: true })
234+
// The SDK is unable to re-run the query, and does not remove doc2
234235
.restart()
235236
.userListens(query1)
237+
// We check that the data is still consistent with the local cache
236238
.expectEvents(query1, { added: [doc1, doc2], fromCache: true });
237239
}
238240
);

0 commit comments

Comments
 (0)