Skip to content

Commit a9eb536

Browse files
committed
fixed workflow for sonarqube
1 parent 82a5a7d commit a9eb536

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

sonar-project.properties

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
sonar.projectKey=Webank-Userapp
2-
2+
sonar.javascript.lcov.reportPaths=coverage/lcov.info
3+
sonar.test.inclusions=**/*.spec.js,**/*.test.js
4+
sonar.test.exclusions=**/node_modules/**

vitest.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default defineConfig({
66
environment: "happy-dom",
77
coverage: {
88
provider: "v8",
9-
reporter: ["text", "json", "html"],
9+
reporter: ["text", "json", "html","lcov"],
1010
all: true,
1111
},
1212
setupFiles: ["./vitest.setup.ts"],

0 commit comments

Comments
 (0)