Skip to content

Conversation

tadjik1
Copy link
Member

@tadjik1 tadjik1 commented Oct 16, 2025

Description

Summary of Changes

This PR rewrites the integration tests for node-specific/cursor_stream.

Notes for Reviewers

Unfortunately it wasn't possible to simple refactor tests for async/await interface as tests were written quite some time ago, and since nodejs streams support both interfaces (async iterator as well as eventemitter), I decided to rewrite tests. The logic of the tests is the same (insert documents and then stream them back), but organization is different (different describes for both interfaces).

What is the motivation for this change?

This work is part of a larger, ongoing initiative to convert all tests to use async/await, with the ultimate goal of removing the legacy driver wrapper.

Double check the following

  • Lint is passing (npm run check:lint)
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

@baileympearson baileympearson self-assigned this Oct 16, 2025
@baileympearson baileympearson added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Oct 16, 2025
@tadjik1 tadjik1 marked this pull request as ready for review October 17, 2025 14:37
@tadjik1 tadjik1 requested a review from a team as a code owner October 17, 2025 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Primary Review In Review with primary reviewer, not yet ready for team's eyes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants