diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 17e87a6..73308a6 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -8,6 +8,7 @@ "vitest.explorer", "wallabyjs.wallaby-vscode", "file-icons.file-icons", - "usernamehw.errorlens" + "usernamehw.errorlens", + "ryanluker.vscode-coverage-gutters" ] } diff --git a/.vscode/settings.json b/.vscode/settings.json index a91cccd..eec50fe 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -20,5 +20,5 @@ "vitest.watchOnStartup": true, "vitest.showFailMessages": true, "vitest.enable": true, - "vitest.commandLine": "yarn test:watch" + "vitest.commandLine": "yarn test:coverage:watch" } diff --git a/vitest.config.mts b/vitest.config.mts index b5e8dc0..273ac56 100644 --- a/vitest.config.mts +++ b/vitest.config.mts @@ -18,7 +18,7 @@ export default defineConfig({ "**/.{idea,git,cache,output,temp,yarn}/**", ], provider: "istanbul", - reporter: ["json", "text", "html", "json-summary"], + reporter: ["json", "text", "html", "json-summary", "lcov"], reportsDirectory: "./src/__tests__/coverage", reportOnFailure: true, thresholds: {