import { defineConfig } from "vitest/config"; import react from "@vitejs/plugin-react"; import tsconfigPaths from "vite-tsconfig-paths"; export default defineConfig({ plugins: [react(), tsconfigPaths()], test: { environment: "jsdom", globals: true, setupFiles: "./tests/setup-tests.ts", include: ["tests/unit/**/*.{test,spec}.{ts,tsx}"], }, });