chore: configure vitest with project-based setup and coverage

This commit is contained in:
lila 2026-03-20 19:25:00 +01:00
parent ce42eb1811
commit 04acd4b580
13 changed files with 1193 additions and 12 deletions

13
vitest.config.ts Normal file
View file

@ -0,0 +1,13 @@
import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
projects: ["packages/*", "apps/*"],
coverage: {
provider: "v8",
reporter: ["text", "json", "html"],
exclude: ["node_modules/", "dist/"],
},
passWithNoTests: true,
},
});