Skip to content

test : test coverage 100% for componets

Pavani Pothuganti requested to merge AiHacksdays/card into AI-HackDays

Description:

Added unit test cases for core UI components including Navbar, ProjectCard, ProjectList, ProjectSummaryCard, ScrollToTop, and SummerCard. Test files were created under src/__tests__/components/ following existing project test patterns.

The tests cover component rendering, props handling, and basic user interactions to improve reliability and maintainability. Additionally, configured Vitest coverage setup and resolved configuration issues to successfully generate test coverage reports.


Type of Change:

  • Bug Fix
    • Feature Development
    • Documentation

Testing:

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

Screenshots (if applicable):

Screenshot from 2026-03-25 19-17-47.png

Screenshot from 2026-03-25 19-17-20.png


Video Demo

Not applicable


Checklist:

  • Code follows project style guidelines
    • Self-review completed

    • No console errors

    • TypeScript types are correct

      #38 (closed)


Edited by Praveena Veeranki

Merge request reports

Loading