Skip to content

chore(NODE-7428): import from mongodb.ts file in tests instead of src#4864

Merged
tadjik1 merged 5 commits intomainfrom
no-story-generate-mongodbts
Feb 12, 2026
Merged

chore(NODE-7428): import from mongodb.ts file in tests instead of src#4864
tadjik1 merged 5 commits intomainfrom
no-story-generate-mongodbts

Conversation

@baileympearson
Copy link
Contributor

@baileympearson baileympearson commented Feb 4, 2026

Description

Summary of Changes

This PR consolidates adjusts any import in a test file to instead import from src. It also adds lint tooling to prevent additional imports in the future from importing from src.

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

@baileympearson baileympearson changed the title refactor(<>): import from mongodb.ts file in tests instead of src refactor(NODE-7428): import from mongodb.ts file in tests instead of src Feb 5, 2026
@baileympearson baileympearson marked this pull request as ready for review February 5, 2026 19:11
@baileympearson baileympearson requested a review from a team as a code owner February 5, 2026 19:11
- fix lint configuration to restrict imports from src
- auto fix import order in all test files
- fix error tests, which were failing and skipped
- unskip driver import tests
@baileympearson baileympearson force-pushed the no-story-generate-mongodbts branch from 3a12d14 to 748325c Compare February 5, 2026 20:52
@baileympearson baileympearson changed the title refactor(NODE-7428): import from mongodb.ts file in tests instead of src chore(NODE-7428): import from mongodb.ts file in tests instead of src Feb 5, 2026
@tadjik1 tadjik1 self-assigned this Feb 6, 2026
@tadjik1 tadjik1 added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Feb 6, 2026
@tadjik1 tadjik1 added Team Review Needs review from team and removed Primary Review In Review with primary reviewer, not yet ready for team's eyes labels Feb 11, 2026
@tadjik1 tadjik1 merged commit 6fc9085 into main Feb 12, 2026
27 of 31 checks passed
@tadjik1 tadjik1 deleted the no-story-generate-mongodbts branch February 12, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Team Review Needs review from team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants