Skip to content

Conversation

tadjik1
Copy link
Member

@tadjik1 tadjik1 commented Oct 16, 2025

Description

Summary of Changes

Notes for Reviewers

What is the motivation for this change?

Release Highlight

Release notes highlight

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

@tadjik1 tadjik1 force-pushed the NODE-7179 branch 2 times, most recently from ee6f3be to eeb7c78 Compare October 16, 2025 18:10

const nextStub = sinon.stub(changeStream.cursor, 'next').callsFake(async function () {
callback(new MongoNetworkError('error triggered from test'));
onClose(new MongoNetworkError('error triggered from test'));
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not in the scope if this ticket, but I decided to fix this syntax error, just let me know if I should revert it, no strong feelings.


// TODO(NODE-6599): mongodb-legacy adds additional client metadata, breaking these prose tests
let client: RawMongoClient;
let client: MongoClient;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this is nice side-effect, as we can run these tests w/o wrapper.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest removing any TODOs related to NODE-6599 as well.

@tadjik1 tadjik1 changed the title test(NODE-7179): migrate tests to import directly from src folder [WIP] test(NODE-7179): migrate tests to import directly from src folder Oct 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants