Added vitest-sonar-reporter to the project

This commit is contained in:
Liviu Burcusel 2025-09-15 16:43:20 +02:00
parent d549aafafe
commit befc3caa2f
Signed by: liviu
GPG key ID: 6CDB37A4AD2C610C
4 changed files with 21 additions and 0 deletions

View file

@ -9,6 +9,10 @@ export default mergeConfig(
environment: "jsdom",
exclude: [...configDefaults.exclude, "e2e/**"],
root: fileURLToPath(new URL("./", import.meta.url)),
reporters: [
'default',
['vitest-sonar-reporter', { outputFile: 'coverage/sonar-report.xml' }],
],
coverage: {
reporter: ["text", "lcov"],
},