From a28d50695b8d212c04a32bef765d6c680e4f0805 Mon Sep 17 00:00:00 2001 From: arsam Date: Fri, 18 Sep 2026 23:09:01 +0330 Subject: [PATCH] Import project configuration: vitest.config.ts Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality. --- vitest.config.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 vitest.config.ts diff --git a/vitest.config.ts b/vitest.config.ts new file mode 100644 index 0000000..d9fb834 --- /dev/null +++ b/vitest.config.ts @@ -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", + }, + }, +});