Open
Description
Example Request Checklist
- I have read and agree to Mocha's Code of Conduct and Contributing Guidelines
- I have searched for related issues, but none matched my issue.
- I want to provide a PR to resolve this
Overview
Now that Node.js natively supports CommonJS files loading ESM ones in 22.12.01 and 23.0.02, there's no more need to use transpilers/etc. to require
ESM modules in CommonJS code! 🎉
Suggested Solution
I'll add a straightforward example showing this.