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 <mark@lazycat.hu>
pull/7806/merge
Márk Tolmács 2 years ago committed by GitHub
parent
commit
f0d25e34c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      vitest.config.mts

2
vitest.config.mts

@ -6,7 +6,7 @@ export default defineConfig({ @@ -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,

Loading…
Cancel
Save