bhoudu / jest-sonarcloud-reporter

Fork of jest-sonar-reporter that supports relativePaths in tests.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jest-sonarcloud-reporter

This is a fork of jest-sonar-reporter in TypeScript. It fixes the systemic generation of absolute paths in test-report.xml by adding the support of a new parameter:

"jestSonar": {
    "withRelativePaths": true,
    ...
}

When the flag withRelativePaths is set to true, test file paths will be generated with relativePaths instead of absolute paths.

That's it, there is nothing more, it just includes what is supported already in jest-sonar-reporter.

About

Fork of jest-sonar-reporter that supports relativePaths in tests.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:TypeScript 89.7%Language:JavaScript 10.3%