From 61da1cc7843d995569ddfd3ba0f4f6f4ac42701d Mon Sep 17 00:00:00 2001 From: Claude Fable 5 Date: Sun, 5 Jul 2026 00:28:28 +0200 Subject: [PATCH] Keep Playwright specs out of Vitest collection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit apps/web now has a Vitest config excluding e2e/ — those specs run via Playwright (pnpm e2e) against a deployed stage, not in unit test runs. Part of #8 Co-Authored-By: Claude Fable 5 --- apps/web/vitest.config.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 apps/web/vitest.config.ts diff --git a/apps/web/vitest.config.ts b/apps/web/vitest.config.ts new file mode 100644 index 0000000..4d12e9f --- /dev/null +++ b/apps/web/vitest.config.ts @@ -0,0 +1,8 @@ +import { configDefaults, defineConfig } from 'vitest/config'; + +export default defineConfig({ + test: { + // e2e/ belongs to Playwright (pnpm e2e) — Vitest must not collect it. + exclude: [...configDefaults.exclude, 'e2e/**'], + }, +});