dorfteich/apps/web/vitest.config.ts
Claude Fable 5 61da1cc784
All checks were successful
CD / Build and push images (push) Successful in 37s
CI / Lint, typecheck, test (push) Successful in 54s
CI / Build container images (push) Has been skipped
CD / Deploy to Test (push) Successful in 8s
CD / Smoke tests against Test (push) Successful in 1m4s
CD / Promote to Int (push) Successful in 9s
Keep Playwright specs out of Vitest collection
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 <noreply@anthropic.com>
2026-07-05 00:28:28 +02:00

9 lines
241 B
TypeScript

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/**'],
},
});