forked from Qortal/q-blog
655 B
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 testruns 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