This commit is contained in:
dswbx
2025-03-28 15:17:04 +01:00
parent 9e3c081e50
commit 7ed5db5eaa
16 changed files with 377 additions and 73 deletions
+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",
],
},
},
});