Просмотр исходного кода

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 год назад
Родитель
Сommit
f0d25e34c3
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      vitest.config.mts

+ 1 - 1
vitest.config.mts

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