Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality.
19 lines
391 B
TypeScript
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",
|
|
},
|
|
},
|
|
});
|