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
{{ message }}
This repository has been archived by the owner on Jul 8, 2019. It is now read-only.
I have a large typescript project, with karma unit tests. And I currently use this plugin to do Linting of my TS files. I'm now trying to add the karma generated LCOV report to the process, but running into issues.
Does your LCOV parser support reading of LCOV files generated off javascript files. The report is generated and read in correctly by Teamcity. But as soon as I pump it into the Sonar it doesn't yeild any results.
Any help with this is appreciated.
Andrew
The text was updated successfully, but these errors were encountered:
So - the LCOV file needs to be translated via a sourcemap to point back to your TypeScript files (since multiple lines of TypeScript may transpile out to a single line of JS, or vice-versa, it's the only way to get accurate line-level coverage). Now there's an open issue surronding this: #48 which I'm not sure about.
If you've already done the conversion and are seeing problems, you've probably got what #48's got - otherwise you'll need to re-map your LCOV back to TypeScript files for the plugin to use the data.
Firstly welldone on a great plugin.
I have a large typescript project, with karma unit tests. And I currently use this plugin to do Linting of my TS files. I'm now trying to add the karma generated LCOV report to the process, but running into issues.
Does your LCOV parser support reading of LCOV files generated off javascript files. The report is generated and read in correctly by Teamcity. But as soon as I pump it into the Sonar it doesn't yeild any results.
Any help with this is appreciated.
Andrew
The text was updated successfully, but these errors were encountered: