Skip to content

Commit 7b37759

Browse files
Update test/integration/node-specific/abstract_cursor.test.ts
Co-authored-by: Neal Beeken <[email protected]>
1 parent 0d5e912 commit 7b37759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ describe('class AbstractCursor', function () {
3333
});
3434
}
3535

36-
it('does not support mapping to `null`', async function () {
36+
it('throws when mapping to `null` and cleans up cursor', async function () {
3737
const cursor = collection.find();
3838
cursor.map(() => null);
3939

0 commit comments

Comments
 (0)