import { defineConfig } from "vitest/config"; import react from "@vitejs/plugin-react"; import path from "node:path"; export default defineConfig({ plugins: [react()], test: { environment: "jsdom", globals: true, // Unit tests only; Playwright owns e2e/. include: ["src/**/*.test.{ts,tsx}"], }, resolve: { alias: { "@": path.resolve(__dirname, "src") }, }, });