mirror of
https://github.com/Sea-Haven-Industries/seahaven-ap.git
synced 2026-09-30 06:53:18 +00:00
20 lines
443 B
TypeScript
20 lines
443 B
TypeScript
|
|
import react from "@vitejs/plugin-react";
|
||
|
|
import path from "node:path";
|
||
|
|
import { defineConfig } from "vitest/config";
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
plugins: [react()],
|
||
|
|
resolve: {
|
||
|
|
alias: {
|
||
|
|
"@": path.resolve(__dirname, "src"),
|
||
|
|
},
|
||
|
|
},
|
||
|
|
test: {
|
||
|
|
environment: "jsdom",
|
||
|
|
setupFiles: ["./src/test/setup.ts"],
|
||
|
|
globals: false,
|
||
|
|
include: ["src/**/*.test.{ts,tsx}"],
|
||
|
|
exclude: ["e2e/**", "node_modules/**"],
|
||
|
|
},
|
||
|
|
});
|