Skip to content

Commit 7fff5df

Browse files
tadjik1Copilot
andauthored
update the comment
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
1 parent cfa3e10 commit 7fff5df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/integration/crud/find.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ describe('Find', function () {
10831083
await collection.insertMany(Array.from({ length: 4 }, (_, i) => ({ x: i })));
10841084

10851085
const cursor = collection.find({}, { batchSize: 1, limit: 3 });
1086-
// emptyGetMore is used internally after limit + 1 documents have been iterated
1086+
// Iterate limit + 1 times to exercise the post-limit cursor path before rewind.
10871087
await cursor.next();
10881088
await cursor.next();
10891089
await cursor.next();

0 commit comments

Comments
 (0)