mirror of
https://github.com/RaisFast/raisfast.git
synced 2026-09-25 08:02:36 +00:00
19 lines
400 B
TypeScript
19 lines
400 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
import react from "@vitejs/plugin-react";
|
|
import path from "path";
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
test: {
|
|
environment: "jsdom",
|
|
setupFiles: ["./src/__tests__/setup.ts"],
|
|
include: ["src/**/*.test.{ts,tsx}"],
|
|
globals: true,
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(__dirname, "./src"),
|
|
},
|
|
},
|
|
});
|