-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Description
π Feature Description
Implement comprehensive unit tests for all React components, hooks, and utilities to achieve 95%+ test coverage across the frontend codebase.
π‘ Why is this needed?
- Ensures UI logic and interactions work as intended
- Catches breaking changes before deployment
- Improves maintainability and developer confidence
- Supports CI/CD pipelines with strong quality gates
β Additional Context
-
Use Jest and React Testing Library (or the projectβs configured test framework)
-
Test both rendering and user interactions
-
Include edge cases, error states, and conditional rendering paths
-
Coverage should be verified using
--coveragein the test command -
Exclude only static assets, constants, and auto-generated files from coverage
-
Target areas:
- Atoms β Buttons, Inputs, Icons, etc.
- Molecules β Forms, Cards, Modals
- Organisms β Header, Footer, Navigation
- Pages β Login, Dashboard, Profile
- Custom Hooks and Utility Functions
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request