import { defineConfig } from "vitest/config"; import { fileURLToPath } from "url"; export default defineConfig({ resolve: { alias: { "@": fileURLToPath(new URL("./", import.meta.url)), }, }, test: { environment: "node", include: ["tests/**/*.test.ts", "app/**/*.test.ts"], restoreMocks: true, unstubEnvs: true, }, });