-
-
Notifications
You must be signed in to change notification settings - Fork 359
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
No coverage when running with mocha --parallel mode #1328
Comments
If things work without using I'm pretty busy currently so it might be a while before I have a chance to investigate, for now you will probably have to disable parallel for coverage testing. |
- but disable parallel mode in nyc * istanbuljs/nyc#1328 - pass command-line option via npm * https://stackoverflow.com/a/14404223
* perf(mocha): run tests in parallel - but disable parallel mode in nyc * istanbuljs/nyc#1328 - pass command-line option via npm * https://stackoverflow.com/a/14404223 * ci(gh-action): run coverage job separately and only once * chore: ignore nyc lcovonly output
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Link to bug demonstration repository
hexojs/hexo#4374
Expected Behavior
nyc --reporter=lcovonly mocha --parallel
should produce "./coverage/lcov.info".nyc --reporter=text-summary mocha --parallel
should display coverage report.Observed Behavior
nyc --reporter=lcovonly mocha --parallel
generates an empty "./coverage/lcov.info".nyc --reporter=text-summary mocha --parallel
:Troubleshooting steps
No issue in mocha's default serial mode.
Environment Information
".mocharc.yml"
The text was updated successfully, but these errors were encountered: