From f0d25e34c3cc9550d9eb73eb0d6b0139be2e534a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rk=20Tolm=C3=A1cs?= Date: Mon, 6 May 2024 17:35:23 +0200 Subject: [PATCH] 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 --- vitest.config.mts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vitest.config.mts b/vitest.config.mts index 4203b664f..3c195dab1 100644 --- a/vitest.config.mts +++ b/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,