Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Fix mocha in Node v22+ #4629

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

chore: Fix mocha in Node v22+ #4629

wants to merge 1 commit into from

Conversation

rschristian
Copy link
Member

Just quick fix (that we don't need quite yet) as I noticed it.

Mocha seemingly requires an explicit "type": "commonjs" as of Node 22+, perhaps because of the new require(esm) that landed? Not quite sure.

This fixes it, in lieu of Mocha fixing something upstream (which they very well might do yet).

@coveralls
Copy link

Coverage Status

coverage: 99.618%. remained the same
when pulling c8a53f9 on chore/node-22
into 1226aae on main.

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.

4 participants