This commit is contained in:
dswbx committed 2025-03-28 15:17:04 +01:00
1 parent 9e3c081e50
commit 7ed5db5eaa
16 files changed
+377 -73

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
import { defineConfig } from "vitest/config";
import react from "@vitejs/plugin-react";
import tsconfigPaths from "vite-tsconfig-paths";
export default defineConfig({
plugins: [react(), tsconfigPaths()],
test: {
globals: true,
environment: "jsdom",
setupFiles: ["./src/test/setup.ts"],
coverage: {
provider: "v8",
reporter: ["text", "json", "html"],
exclude: [
"node_modules/",
"src/test/setup.ts",
"**/*.d.ts",
"**/*.test.ts",
"**/*.config.ts",
],
},
},
});