Not able to run mocha tests with blanket - CH11
- Dominant language
- JavaScript
- Stars
- 165
- Forks
- 81
- PR merge metrics
- No merged PRs in 30d
Description
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
> socialapp@ test C:\meanstack
> jshint . && mocha && protractor
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.