diff --git a/agent-team/web/vite.config.ts b/agent-team/web/vite.config.ts index cbc3927..f792417 100644 --- a/agent-team/web/vite.config.ts +++ b/agent-team/web/vite.config.ts @@ -62,5 +62,9 @@ export default defineConfig({ environment: "jsdom", setupFiles: ["./src/test/setup.ts"], css: false, + // Unit tests live under src/. Scope vitest there so it does NOT pick up the + // Playwright e2e specs in e2e/ (they import @playwright/test — the Playwright + // runner, not vitest — and fail to load under `vitest run`). + include: ["src/**/*.{test,spec}.{ts,tsx}"], }, });