You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running yarn run test:coverage should populate the lcov report at ./coverage/lcov-report/index.html
Observed Behavior
The lcov report is completely empty
Troubleshooting steps
When my test:coverage script is changed to have the contents of the test script directly in the test:coverage script, my lcov report is correctly generated
Please test with the beta release of nyc 15. nyc 15 makes use of a new technique for wrapping child processes which fixes known issues with yarn. Be sure to upgrade babel-plugin-istanbul to the beta release of 6 at the same time.
yarn add nyc@next babel-plugin-istanbul@next`;
yarn run test
Result: Successfully generated coverage report, followed by recalling how far we still have to go on coverage. At least we've got most of our critical logic covered!
Thanks for reporting back, I'm going to close this as no further code changes are expected. You can click Subscribe on #1104 to get updates about the progress for the final release of nyc@15.
Repro Repo
Sorry - Private repo. Trying to gen min repro case
Configuration:
In my
package.json
file, I have the following lines in my scripts node:Expected Behavior
Running
yarn run test:coverage
should populate the lcov report at./coverage/lcov-report/index.html
Observed Behavior
The lcov report is completely empty
Troubleshooting steps
When my
test:coverage
script is changed to have the contents of thetest
script directly in thetest:coverage
script, my lcov report is correctly generatedEnvironment Information
Other Notes:
Since last running my coverage script (I know, I know):
[email protected]
. Updated tonyc@14
to no effect.The text was updated successfully, but these errors were encountered: