Import project configuration: vitest.config.ts

Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality.
This commit is contained in:
arsam
2026-09-18 23:09:01 +03:30
parent 97e67db7ce
commit a28d50695b
+18
View File
@@ -0,0 +1,18 @@
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",
},
},
});