We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfa3e10 commit 7fff5dfCopy full SHA for 7fff5df
1 file changed
test/integration/crud/find.test.ts
@@ -1083,7 +1083,7 @@ describe('Find', function () {
1083
await collection.insertMany(Array.from({ length: 4 }, (_, i) => ({ x: i })));
1084
1085
const cursor = collection.find({}, { batchSize: 1, limit: 3 });
1086
- // emptyGetMore is used internally after limit + 1 documents have been iterated
+ // Iterate limit + 1 times to exercise the post-limit cursor path before rewind.
1087
await cursor.next();
1088
1089
0 commit comments