From 2f3cf451662600a2215ebe049f70dc3beded3408 Mon Sep 17 00:00:00 2001 From: Johannes Ewald Date: Fri, 26 Jul 2024 16:54:31 +0200 Subject: [PATCH] Adjust coverage config --- vitest.config.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vitest.config.ts b/vitest.config.ts index 55009b4..7d6fa24 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -3,11 +3,11 @@ import { defineConfig } from "vitest/config"; // eslint-disable-next-line import/no-default-export export default defineConfig({ test: { - root: "./src", + include: ["src/**/*.test.ts"], coverage: { reporter: ["lcov", "html"], - reportsDirectory: "../coverage", - exclude: ["scripts/**", "tests/**"], + include: ["src/**"], + exclude: ["src/scripts/**", "src/tests/**"], }, }, });