-
Notifications
You must be signed in to change notification settings - Fork 248
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
v2.0.2 lcov.info absolute paths now incorrectly translated to relative paths #415
Comments
@tande35006 try to use relativePath: false for lcov report |
anyone got this working, not 100% sure where the "relativePath: false" flag should be set? I assume in karma.config.js so I tried a few places and none seem to work. Where should it go?
|
sorry, it is my mistake. it is issue istanbuljs/istanbuljs#529 you can define projectRoot for project and should be resolved |
Hi, I'm struggling with this issue and I don't see how to define this |
Updated from karma-coverage 2.0.1 to 2.0.2 and the paths in the lcov.info are now being translated to relative paths. Using sonarcloud.io for coverage analysis which doesn't support the relative paths.
v2.0.1 lcov.info file:
v2.0.2 lcov.info file now produces:
sonarcloud log:
The text was updated successfully, but these errors were encountered: