Background
The frontend has no automated tests yet. Adding React Testing Library + Vitest/Jest would let us cover key components and hooks (e.g. frontend/components/ and frontend/lib/hooks/).
Tasks
Acceptance criteria
npm test runs locally and in CI
- A clear example exists for others to follow
See CONTRIBUTING.md.
Background
The frontend has no automated tests yet. Adding React Testing Library + Vitest/Jest would let us cover key components and hooks (e.g.
frontend/components/andfrontend/lib/hooks/).Tasks
npm testscriptAcceptance criteria
npm testruns locally and in CISee CONTRIBUTING.md.