Skip to content

Commit e455666

Browse files
Apply suggestions from code review
Co-authored-by: Neal Beeken <[email protected]>
1 parent 7b37759 commit e455666

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/node-specific/abstract_cursor.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ describe('class AbstractCursor', function () {
6262
});
6363
}
6464

65-
it('does not support mapping to `null`', async function () {
65+
it('throws when mapping to `null` and cleans up cursor', async function () {
6666
const cursor = collection.find();
6767
cursor.map(() => null);
6868

@@ -98,7 +98,7 @@ describe('class AbstractCursor', function () {
9898
});
9999
}
100100

101-
it('does not support mapping to `null`', async function () {
101+
it('throws when mapping to `null` and cleans up cursor', async function () {
102102
const cursor = collection.find();
103103
cursor.map(() => null);
104104

0 commit comments

Comments
 (0)