JavaScript/TypeScript test coverage
SonarQube supports the reporting of test coverage information as part of the analysis of your JS/TS project.
Adjust your setup
Adding coverage to your build process
- name: Install dependencies
run: yarn
- name: Test and coverage
run: yarn jest --coverageAdding the coverage analysis parameter
Coverage parameters can be set in multiple places
Same parameter for JavaScript and TypeScript
Related pages
Last updated
Was this helpful?

