Browse Source

chore: Add lcov coverage output to vitest (#7987)

chore: Add lcov coverage output to vitest so VSCode coverage gutters extension works

Signed-off-by: Mark Tolmacs <[email protected]>
Márk Tolmács 1 năm trước cách đây
mục cha
commit
f0d25e34c3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      vitest.config.mts

+ 1 - 1
vitest.config.mts

@@ -6,7 +6,7 @@ export default defineConfig({
     globals: true,
     environment: "jsdom",
     coverage: {
-      reporter: ["text", "json-summary", "json", "html"],
+      reporter: ["text", "json-summary", "json", "html", "lcovonly"],
       thresholds: {
         lines: 70,
         branches: 70,