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
I need to run something like:
cover run --harmony test/runner.js
The text was updated successfully, but these errors were encountered:
Hi not 100% sure what you mean but I had an issue where I couldn't get the reporter flag to work for my Mocha tests.
I solved it by adding -- after specifying where my test folder is.
--
Example: "test": "istanbul cover ./node_modules/mocha/bin/_mocha Test -- -R nyan"
"test": "istanbul cover ./node_modules/mocha/bin/_mocha Test -- -R nyan"
Also see an example on the read me:
Want to pass some arguments to your test? No problem (note the --): cover run mytests.js -- --arg1 --arg2=foo
Want to pass some arguments to your test? No problem (note the --):
cover run mytests.js -- --arg1 --arg2=foo
Hope that helps
EDIT: Didn't see this was nearly 2 years old! :)
Sorry, something went wrong.
No branches or pull requests
I need to run something like:
The text was updated successfully, but these errors were encountered: