Files
q-blog/issues/stand-up-test-harness--vitest---rtl---msw---jest-axe-.md
2025-08-21 16:40:49 -04:00

655 B

Stand up Test Harness (Vitest + RTL + MSW + jest-axe)

Goal

Enable fast, realistic tests with accessibility checks.

Tasks

  • Configure Vitest (jsdom), alias @→src, coverage thresholds
  • Global test setup with RTL, user-event, jest-dom, jest-axe
  • MSW server for success/error/invalid payloads
  • Seed tests: app smoke, editor minimal, a11y smoke

Acceptance

  • pnpm test runs green; coverage report produced
  • At least 3 smoke tests and 1 a11y test in place
  • See docs/QUALITY_CHARTER.md.

Labels

Type: test · Area: tests · Priority: P0 · Size: M

Labels: test, P0, M, tests Milestone: Patch 0 — Orientation & Quality Bar