forked from Qortal/q-blog
26 lines
655 B
Markdown
26 lines
655 B
Markdown
# 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
|