Skip to content

test: add unit test cases for ImageReviewPage, index.tsx and LandingPage.tsx

Vaishnavi requested to merge test/image-index into test_cases

Description:

Added unit test cases for ImageReviewPage, index.tsx, and LandingPage.tsx to improve test coverage and ensure component reliability. The tests cover component rendering, UI validation, and basic user interactions using React Testing Library and Vitest. All test cases are passing and coverage has been improved to 100% for these files.


Type of Change:

  • Bug Fix
  • Feature Development
  • Documentation

Testing:

  • Tested on desktop
  • Tested on mobile
  • Tested in different browsers

Screenshots :

image

If you have used AI create this PR, please also record video of yourself explaining the changes.

Link to code walkthrough


Checklist:

  • Code follows project style guidelines
  • Self-review completed
  • No console errors
  • TypeScript types are correct

closes #277 (closed)

Merge request reports

Loading