Code coverage for nodejs(npm package) with sonar cloud

we are using NodeJS for web(UI) jest tool for code coverage, we are able to get the test results in local but not in sonar cloud any suggestions could be appreciated !

Hey there.

A good place to start is the documentation on JavaScript/TypeScript Code Coverage

1 Like

@Colin do we have any documentation for React JS even ?

The framework is unimportant – what’s important is generating an lcov report for your project and passing it to the analysis.

1 Like

@Colin thanks !!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.