-
Notifications
You must be signed in to change notification settings - Fork 90
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
Not able to run mocha tests with blanket - CH11 #33
Comments
You can solve this temporarily (until Blanket releases a fix) by specifying the version number of Blanket in See out alex-seville/blanket#491 for more information on this problem. |
I hit this too. For some reason "1.1.6" (or "1.1.5", or the current "^1.2.1") didn't work for me :( Here's the exception:
|
I'm at the portion of your book where I'm running the code-coverage test with blanket and I am having the following error being thrown:
C:\meanstack>npm test
C:\meanstack\controllers\api\users.js:2
if (typeof _$jscoverage['C:\meanstack\controllers\api\users.js'] === 'undefine
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: BLANKET-Error parsing instrumented code: Error: BLANKET-Error parsing instrumented code: Error: BLANKET-Error parsing instrumented code: SyntaxError: Unexpected token ILLEGAL
I cannot figure out where the issue is so I can run this test.
The text was updated successfully, but these errors were encountered: