Code Coverage for TS and JS

We are trying to get Code Coverage working within SonarCloud in a CI environment. While I am aware of the fact that the auto-scanning feature is in the works, is there a suggested way to get coverage from TS and JS builds into SonarCloud. I have seen a few solutions but to no avail.

Willing to help write docs. This is an amazing product.

Hi,

Are you already using autoscan?
If yes, then I don’t think there is much you can do, just wait for this feature to arrive.
If not, then before the analysis, generate the report and import it with sonar.javascript.lcov.reportPaths property (both JS and TS will work with this property).

Will these properties work for Maven Sonar Plugin also? I have configured my javaScript project with maven sonar plugin and I am not getting coverage > 0 %.