We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In a typescript project, Run test at cursor command fails with this notification message: "Mocha is only available for JavaScript files."
Run test at cursor
No error message and the test should run.
The notification message "Mocha is only available for JavaScript files." is shown and the test is not run.
Note: If I manually change the "Language Mode" to "JavaScript", it works, even if the file still contains typescript code!
"mocha.files.glob": "**/*.spec.ts", "mocha.options": { "config": "packages/services/my-api/.mocharc.unit.js" }, "mocha.env": { "NODE_ENV": "test" }, "mocha.requires": ["ts-node/register"],
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
In a typescript project,
Run test at cursor
command fails with this notification message: "Mocha is only available for JavaScript files."Steps to Reproduce
Expected Results
No error message and the test should run.
Actual Results
The notification message "Mocha is only available for JavaScript files." is shown and the test is not run.
Note: If I manually change the "Language Mode" to "JavaScript", it works, even if the file still contains typescript code!
Settings file
Versions
OS version
The text was updated successfully, but these errors were encountered: