Overview
Once test discovery is fixed ([FE-65]), the frontend needs a pattern for contributors to follow. @testing-library/jest-dom is already referenced in the Jest setup, and the app uses next-intl with locale routing — so components need providers wrapped correctly or every test fails on a missing intl context.
Tasks
Acceptance Criteria
Dependencies
Blocked by [FE-65].
Notes for Contributors
Comment below to be assigned.
Overview
Once test discovery is fixed ([FE-65]), the frontend needs a pattern for contributors to follow.
@testing-library/jest-domis already referenced in the Jest setup, and the app usesnext-intlwith locale routing — so components need providers wrapped correctly or every test fails on a missing intl context.Tasks
renderWithProviderstest utility wrapping components inNextIntlClientProviderwith test messages, plus any auth or theme provider.@testing-library/reactand@testing-library/user-eventare installed; add them if not.frontend/README.mdso contributors have a template.Acceptance Criteria
Dependencies
Blocked by [FE-65].
Notes for Contributors
Comment below to be assigned.