You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Expo watch app should have unit tests for the data layer (Experience/section mapping) and critical components so regressions are caught and behavior is documented. This issue adds those tests. Scope has been expanded to cover all 10 active section types.
Expected outcome
Unit tests for the Experience fetch and section data layer, covering mapping logic for all 10 section types.
Unit tests for critical UI or hooks (e.g. section renderer dispatch, nested content resolution).
Tests run in CI (see chore for CI); no flaky or environment-dependent tests in core paths.
E2E strategy can be documented as deferred if out of scope.
Acceptance criteria
Data layer tests: at least one test per fetch path (watch home, experience-by-slug) or mapping logic.
Mapping tests for each of the 10 section types: VideoHero, MediaCollection, CTA, Text, Video, BibleQuotesCarousel, RelatedQuestions, Card, Section, Container.
Background
The Expo watch app should have unit tests for the data layer (Experience/section mapping) and critical components so regressions are caught and behavior is documented. This issue adds those tests. Scope has been expanded to cover all 10 active section types.
Expected outcome
Acceptance criteria
__typename.Possible solution(s)
__tests__undermobile/expo.easter, documentId:lr6luew6oh4hurag4n8s0ddz) as a fixture for integration-style mapping tests.References
ExperienceSectionsDynamicZoneunion (line 693)