test: add unit tests for src/pages components
Description:
This MR adds unit tests for page components in the src/pages folder to improve overall test coverage.
Tests were added for pages that previously had 0% coverage, including Articles, Collaborations, Contact, LLMProjects, News, NewsDetail, Roadmap, Speech, Structure, and SummerOfAI pages.
The tests verify that each page renders correctly and displays expected content using React Testing Library and Vitest.
This change improves coverage for the pages module and helps ensure UI components render without errors.
Type of Change:
- Bug Fix
-
Feature Development -
Documentation
-
Testing:
- Tested on mobile
-
Tested on desktop -
Tested in different browsers
-
All tests were executed using Vitest and are passing successfully.
Screenshots (if applicable):
Checklist:
-
Code follows project style guidelines
-
Self-review completed -
No console errors -
TypeScript types are correct
Related issue:
-
Edited by SandhyaRani Bandaram
