-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: Dependencies
Use Case
As a... node driver developer
I want... all unit and integration tests to run against an ESM bundle
So that... we can ensure the driver is able to be bundled into ESMĀ
User Experience
- Source changes which break ESM bundling will be caught during build time
- This will match our current CJS bundle testing
Dependencies
- This helps our customers use the Node Driver as an ESM bundle
Risks/Unknowns
- Testing ESM bundle may require a large src or test rewrite
Acceptance Criteria
Implementation Requirements
- Add a way to create ESM bundle and run tests against it
Testing Requirements
- ESM breaks are caught by failing unit and integ tests
Documentation Requirements
- None
Follow Up Requirements
- None
- related to
-
NODE-7603 mongodb@7.2.0 uses require('os') in runtime_adapters, causing bundled ESM Node builds to fail
-
- Closed
-