mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-09-30 06:53:12 +00:00
24 lines
539 B
TypeScript
24 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/**"],
|
||
|
|
},
|
||
|
|
});
|