Keep Playwright specs out of Vitest collection
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
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
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>
This commit is contained in:
parent
cad0e554b5
commit
61da1cc784
8
apps/web/vitest.config.ts
Normal file
8
apps/web/vitest.config.ts
Normal file
@ -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/**'],
|
||||||
|
},
|
||||||
|
});
|
||||||
Loading…
Reference in New Issue
Block a user