Build, unit, integration and performance test instructions and the summary, the corrected scroll rule and the review on test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
738 B
738 B
Unit Test Instructions — contact-page
cd web
pnpm test # vitest run --coverage (unit, component, property-based, axe)
- Expected: 71 test files, 367 tests, 0 failures; coverage thresholds met (100% for
src/lib/**,seo.ts,sitemap.ts) - Property-based tests print their seed (
fast-check seed: …); rerun a failure withFC_SEED=<seed> pnpm test - New in this feature:
lib/contactChannels,lib/withReplyTime,PrivacyNote,ContactPanel,ContactDetails,contact/ContactAside,webPage/contactPageinseo.test.ts, the contact route inapp.test.tsx - Note: run without an output filter (e.g.
rtk proxy pnpm testin agent shells), so a failing test is visible in full