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
TypeError: Unknown file extension ".ts" | #71
Comments
the same |
same here! |
same problem |
"loader=ts-node/esm" need to be added to the node-option in the mocha configuration .mocharc.json
|
This question comes from Chat.js 5.x, using 4.x will solve that. |
it was related to chai in probably your example |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
package.json
tsconfig.json
.mocharc.json
Greetings, I am unable to run mocha when including
import { expect } from 'chai';
into my project.It causes the following to occour.
I am not sure what to do to solve this? I followed the guidance of the following video along with the TS example project.
Video
Project
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: