import { defineConfig } from "vitest/config"; import { fileURLToPath } from "node:url"; export default defineConfig({ resolve: { alias: { "@": fileURLToPath(new URL("./src", import.meta.url)) } }, test: { environment: "jsdom", include: ["test/*.ui.test.tsx"], setupFiles: ["test/setup.ts"], restoreMocks: true, // Multi-step MUI workflows take ~1.5s locally but exceed 5s on the single-worker Drone runner. testTimeout: 20000, }, });