-
Notifications
You must be signed in to change notification settings - Fork 786
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
Unexpected Token Case #500
Comments
Appears that the path to mocha was valid in unix but not in windows.
|
I have the same problem. And tried with .\node_modules.bin_mocha, still "SyntaxError: Unexpected token case" How can I fix it?
|
Solved by running "istanbul cover node_modules\mocha\bin\mocha -- --compilers js:babel/register --recursive". But received "No coverage information was collected, exit without writing coverage information". |
Finally successful by running "istanbul cover node_modules\mocha\bin_mocha -- --compilers js:babel/register --recursive" |
where do you change the patch? How to change the path? Should we place the config file there or should we manually change the execution path? Please help.. |
Every time I run a command like -
'node ./node_modules/.bin/istanbul check-coverage'
I get the following error -
If I run this with Mocha, then it reports the same issue, but states that it happening in
_mocha:4
instead.This happens when I try to setup Istanbul to run cover over mocha. It happens when I just try and run Istanbul. I am at a loss and can't find anything about this anywhere.
Help please!
The text was updated successfully, but these errors were encountered: