Code Coverage for Javascript/TypeScript

Hi, Currently I use AutoScan that comes with Sonar Cloud for Javascript and Type Script projects. I know that Code Coverage is not available for AutoScan but I have seen screenshots of sonarcloud UI having Code Coverage? Could anyone please tell me how do I receive code coverage in the dashboard along the CI/CD. We use jenkins.

I am using NYC to generate lcov files.

Hi @Kishan_Chaitanya and welcome to the community !

In order to have coverage, you should provide the relevant reportPaths property when invoking the analysis, as described here : https://mcaro.eu.ngrok.io/documentation/analysis/coverage/

HTH,
Mickaël