Update sonarqube to receive test coverage
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -7,10 +7,7 @@ dist
|
||||
*.local
|
||||
.tanstack
|
||||
*.tgz
|
||||
test/coverage
|
||||
|
||||
# Editor directories and files
|
||||
.vscode
|
||||
coverage
|
||||
|
||||
# Sonarqube
|
||||
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: {
|
||||
globals: true,
|
||||
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