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>
This commit is contained in:
Márk Tolmács
2024-05-06 17:35:23 +02:00
committed by GitHub
parent d9bbf1eda6
commit f0d25e34c3

View File

@@ -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,