Update sonarqube to receive test coverage
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -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
6
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"sonarlint.connectedMode.project": {
|
||||||
|
"connectionId": "mattrixwvSonarqube",
|
||||||
|
"projectKey": "MattrixwvReactComponents"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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" ]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user