Update sonarqube to receive test coverage

This commit is contained in:
2026-02-26 21:41:18 -05:00
parent c55ce3ad77
commit 378dae159f
3 changed files with 12 additions and 5 deletions

5
.gitignore vendored
View File

@@ -7,10 +7,7 @@ dist
*.local *.local
.tanstack .tanstack
*.tgz *.tgz
test/coverage coverage
# Editor directories and files
.vscode
# Sonarqube # Sonarqube
sonarBuild.sh sonarBuild.sh

6
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"sonarlint.connectedMode.project": {
"connectionId": "mattrixwvSonarqube",
"projectKey": "MattrixwvReactComponents"
}
}

View File

@@ -83,6 +83,10 @@ export default defineConfig({
test: { test: {
globals: true, globals: true,
environment: "jsdom", environment: "jsdom",
setupFiles: [ "test/vitest.setup.ts" ] setupFiles: [ "test/vitest.setup.ts" ],
coverage: {
provider: "v8",
reporter: [ "html", "text", "lcov" ]
}
} }
}); });