jam-buddy / apps /web /vitest.config.ts
salgadev's picture
Sync from GitHub 46f60997
dcc72ff verified
Raw
History Blame Contribute Delete
429 Bytes
import { defineConfig } from "vitest/config";
import react from "@vitejs/plugin-react";
import path from "node:path";
export default defineConfig({
plugins: [react()],
test: {
environment: "happy-dom",
globals: false,
setupFiles: ["./__tests__/setup.ts"],
include: ["__tests__/**/*.test.ts", "__tests__/**/*.test.tsx"],
},
resolve: {
alias: {
"@": path.resolve(__dirname, "."),
},
},
});