test: Add Responsive Breakpoint Tests for Utility Functions#8122
Conversation
|
This PR introduces responsive breakpoint tests for utility functions, which is a great step towards ensuring our application behaves consistently across different screen sizes. It aligns well with previous decisions to enhance test coverage for responsive layouts and timezone handling. Thank you for your contribution, and I look forward to your updates on the checklist items! 😊 |
📦 Next.js Bundle Size Report (Gzipped Sizes)✨ No significant bundle size changes detected. 📊 Summary of Totals
|
Aamod007
left a comment
There was a problem hiding this comment.
Excellent work on the responsive breakpoint tests for the \�uildQueryParams\ utility function. Simulating viewport changes by mocking \window.innerWidth\ and \window.innerHeight\ alongside dispatching resize events is a very effective strategy. Proving that the URL parameters remain stable and don't leak horizontal layout dependencies onto smaller viewports is exactly what we needed.
|
🎉 Congratulations @deepsikha-dash! Your PR has been successfully merged. 🚀 Thank you for contributing to CommitPulse. Your work helps us build a better tool for the community.
Keep building! 💻✨ |
Description
Fixes #6899
Pillar
Visual Preview
N/A
Checklist before requesting a review:
CONTRIBUTING.mdfile.localhost:3000/api/streak?user=YOUR_USERNAME).npm run formatandnpm run lintlocally and resolved all errors (CI will fail otherwise).feat(themes): ...,fix(calculate): ...).README.mdif I added a new theme or URL parameter.