expo-popcore-app/app/(tabs)/__tests__
imeepos 54867492a7 test: add unit tests for HomeScreen to ensure proper rendering
Following TDD principles (RED-GREEN-REFACTOR):
- RED: Created failing tests for HomeScreen rendering
- Verify RED: Confirmed tests failed due to missing mocks
- GREEN: Added necessary mocks for all dependencies
- Verify GREEN: All 4 tests passing (4/4)

Tests cover:
- Title bar rendering with app name
- Category tabs rendering when data is loaded
- Template cards rendering when category has templates
- Loading state not showing when data is loaded

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 15:28:18 +08:00
..
index.test.tsx test: add unit tests for HomeScreen to ensure proper rendering 2026-01-21 15:28:18 +08:00