Added vitest-sonar-reporter to the project
This commit is contained in:
parent
d549aafafe
commit
befc3caa2f
4 changed files with 21 additions and 0 deletions
|
|
@ -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"],
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue