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
Hi @willembult, thanks for this module! I'm having a bit of trouble running the following command:
npm run mocha -- spec '{"hooks": "mocha-phantomjs-istanbul", "coverageFile": "./coverage.json"}'
Where my scripts look like:
"mocha": "mocha-phantomjs test/index.html", "cov": "npm run mocha -- spec '{\"hooks\": \"mocha-phantomjs-istanbul\", \"coverageFile\": \"./coverage.json\"}'", "test": "npm run jshint && npm run browserify && npm run cov"
I'm seeing no JSON file being output,and no errors.
Any pointers would be great, thanks in advance!
The text was updated successfully, but these errors were encountered:
I did some debugging and figured out that I needed to instrument first, makes sense. My working code looks like:
"cov": "npm run browserify -- -t browserify-istanbul && npm run mocha -- -k mocha-phantomjs-istanbul",
npm run cov
Sorry, something went wrong.
No branches or pull requests
Hi @willembult, thanks for this module! I'm having a bit of trouble running the following command:
npm run mocha -- spec '{"hooks": "mocha-phantomjs-istanbul", "coverageFile": "./coverage.json"}'
Where my scripts look like:
I'm seeing no JSON file being output,and no errors.
Any pointers would be great, thanks in advance!
The text was updated successfully, but these errors were encountered: