Files
CoaxysPanel/vitest.config.ts
arsam a28d50695b Import project configuration: vitest.config.ts
Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality.
2026-09-18 23:09:01 +03:30

19 lines
391 B
TypeScript

import { defineConfig } from "vitest/config";
import react from "@vitejs/plugin-react";
export default defineConfig({
plugins: [react()],
test: {
include: ["tests/unit/**/*.{test,spec}.{ts,tsx}"],
environment: "jsdom",
setupFiles: ["./tests/unit/setup.ts"],
globals: true,
css: true,
},
resolve: {
alias: {
"@": "/srv/CoaxysPanel/src",
},
},
});