Add frontend tests #18

Closed
opened 2026-10-14 23:16:48 -04:00 by vmanne-poc · 0 comments
Owner

Only the backend has tests. The React app has none, so UI regressions (for example the segment builder sending a malformed rule) aren't caught.

Plan: Vitest + Testing Library for segmentRules.ts (toFilter/fromFilter round-trip) and key pages; run in the frontend Docker build or a frontend-test compose service.

Only the backend has tests. The React app has none, so UI regressions (for example the segment builder sending a malformed rule) aren't caught. **Plan:** Vitest + Testing Library for `segmentRules.ts` (toFilter/fromFilter round-trip) and key pages; run in the frontend Docker build or a `frontend-test` compose service.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
vmanne-poc/Postak#18
No description provided.