-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Summary
The Program section screens daily.tsx and literature.tsx lack dedicated unit test files. These screens are part of the new 12-step program feature and should have test coverage.
Missing Tests
| Screen | Path | Test File Needed |
|---|---|---|
| Daily | app/(app)/(tabs)/program/daily.tsx |
__tests__/app/program/daily.test.tsx |
| Literature | app/(app)/(tabs)/program/literature.tsx |
__tests__/app/program/literature.test.tsx |
Existing Test Pattern
Tests for similar screens exist and can be used as templates:
__tests__/app/program/prayers.test.tsx- Prayer cards rendering__tests__/app/program/meetings.test.tsx- Calendar and meeting tracking (currently skipped)
Test Coverage Should Include
daily.tsx
- Daily reflection rendering
- Date navigation
- Content loading states
- Error handling
literature.tsx
- Literature list rendering
- Search/filter functionality (if any)
- Item selection
- Loading and error states
Related
- References summary issue 📋 Daily Codebase Review - 2026-02-04 #374
- Part of Program section feature work
Acceptance Criteria
-
__tests__/app/program/daily.test.tsxcreated with basic coverage -
__tests__/app/program/literature.test.tsxcreated with basic coverage - Tests follow existing patterns using
renderWithProviders() - All tests pass in CI
Created from daily codebase review #374
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels