Files
dashboard/vitest.config.mts

14 lines
361 B
TypeScript

import { defineConfig } from "vitest/config";
// Unit tests only — e2e lives in e2e/ and runs through Playwright (npm test).
export default defineConfig({
resolve: {
// Honors the "@/…" / "@components/…" aliases from tsconfig.json.
tsconfigPaths: true,
},
test: {
environment: "jsdom",
include: ["src/**/*.test.{ts,tsx}"],
},
});