mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-09-30 09:13:11 +00:00
23 lines
539 B
TypeScript
23 lines
539 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/**/*.test.{ts,tsx}",
|
|
"src/test/**/*.integration.test.{ts,tsx}",
|
|
"config/**/*.test.ts",
|
|
],
|
|
exclude: ["e2e/**", "node_modules/**"],
|
|
},
|
|
});
|