Skip to content

ImageGallery and ImageLightbox have no tests: property image browsing is uncovered #920

Description

@nanaf6203-bit

ImageGallery and ImageLightbox have no tests: property image browsing is uncovered

Labels / Complexity: testing · Trivial — Trivial

Summary

ImageGallery and ImageLightbox (src/components/property/ImageGallery.tsx, ImageLightbox.tsx) implement property image browsing (the only property component with a test is CurrencyToggle). Neither has tests. A regression that breaks thumbnail selection or lightbox open/close ships silently on every property page.

Proposal

  • Add specs covering thumbnail selection, lightbox open/close, and empty-image handling.

Acceptance criteria

  • The specs cover the gallery interactions; they pass via npm test.

Getting started

  • src/components/property/ImageGallery.tsx, src/components/property/ImageLightbox.tsx
  • src/components/property/__tests__/CurrencyToggle.test.tsx — the pattern

Commands: npm test.

Good first files to read: src/components/property/ImageGallery.tsx.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programTrivialtestingTest coverage or test reliability

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions