-
Notifications
You must be signed in to change notification settings - Fork 25
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
Support mocha 9 #65
Comments
My guess is ts-mocha is not affected by the breaking changes introduced in mocha@9. Can we include https://github.com/mochajs/mocha/blob/master/CHANGELOG.md#boom-breaking-changes |
mocha@9 became an ESM module. ts-mocha may need some tweaks to make ts-node work with es modules (ESM): TypeStrong/ts-node#1007 (comment) |
FWIW, here's a configuration for Mocha, TypeScript, and ESM that finally worked for me:
|
This is incorrect, Mocha@9 still is a CommonJS module. |
Released a new version of ts-mocha@9, please test. |
And any plans to support mocha 9?
npm WARN ts-mocha@9.0.0-alpha1 requires a peer of mocha@^3.X.X || ^4.X.X || ^5.X.X || ^6.X.X || ^7.X.X || ^8.X.X but none is installed. You must install peer dependencies yourself.
Originally posted by @teolag in #61 (comment)
The text was updated successfully, but these errors were encountered: