Agents for developpement added + frontend add + backend added. Git viewer created + agent and template creator + layout and project creator
21 lines
575 B
TypeScript
21 lines
575 B
TypeScript
/// <reference types="vitest" />
|
|
import { defineConfig } from "vitest/config";
|
|
import react from "@vitejs/plugin-react";
|
|
import { fileURLToPath, URL } from "node:url";
|
|
|
|
// Vitest config for the frontend hexagonal layers (domain/ports/adapters/app).
|
|
// jsdom is used so React-Testing-Library can render the DI provider.
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
resolve: {
|
|
alias: {
|
|
"@": fileURLToPath(new URL("./src", import.meta.url)),
|
|
},
|
|
},
|
|
test: {
|
|
environment: "jsdom",
|
|
globals: true,
|
|
include: ["src/**/*.test.{ts,tsx}"],
|
|
},
|
|
});
|