This commit is contained in:
2026-05-19 12:48:41 +07:00
parent 208a91b971
commit 55a0133ed4
23 changed files with 3781 additions and 22 deletions
+19
View File
@@ -0,0 +1,19 @@
import { defineConfig } from "vitest/config";
import react from "@vitejs/plugin-react";
import path from "path";
export default defineConfig({
plugins: [react()],
test: {
environment: "jsdom",
globals: true,
setupFiles: ["./vitest.setup.ts"],
include: ["**/__tests__/**/*.test.{ts,tsx}", "**/*.test.{ts,tsx}"],
exclude: ["node_modules", ".next"],
},
resolve: {
alias: {
"@": path.resolve(__dirname, "."),
},
},
});