import { fileURLToPath } from "node:url"; import { defineConfig } from "vitest/config"; // Local config so Vitest does not walk up into the parent Laravel repo's // vite.config.js (this app lives inside the Laravel project tree). export default defineConfig({ resolve: { alias: { "@": fileURLToPath(new URL("./src", import.meta.url)), }, }, test: { environment: "node", }, });