Overview
The component src/components/loadingSkeletons.tsx has no render/unit test. A lightweight React Native Testing Library test documents its rendering contract and protects it from regressions.
Specifications
Features:
- The component has a render test covering its primary state(s).
Tasks:
- Add
src/components/__tests__/loadingSkeletons.test.tsx that renders the component with representative props, asserts key visible output, and covers one conditional/interaction path if applicable.
- Mock any hooks/services/navigation the component depends on.
Impacted Files:
src/components/__tests__/loadingSkeletons.test.tsx
Acceptance Criteria
- A passing render test exists for the component and asserts meaningful output.
- All the CI passes
- Star the repo
Overview
The component
src/components/loadingSkeletons.tsxhas no render/unit test. A lightweight React Native Testing Library test documents its rendering contract and protects it from regressions.Specifications
Features:
Tasks:
src/components/__tests__/loadingSkeletons.test.tsxthat renders the component with representative props, asserts key visible output, and covers one conditional/interaction path if applicable.Impacted Files:
src/components/__tests__/loadingSkeletons.test.tsxAcceptance Criteria