test: add rendering tests for GithubWrapped component#1969
Conversation
|
@kanishka-2007-tech is attempting to deploy a commit to the jhasourav07's projects Team on Vercel. A member of the Team first needs to authorize it. |
Aamod007
left a comment
There was a problem hiding this comment.
Adds framer-motion mock to fix test rendering, replaces 3 old tests with 7 meaningful content tests (user name, contributions, top language, daily count, busiest month, weekend ratio, balance message). 8/8 tests pass. +48/-8.
|
🎉 Congratulations @kanishka-2007-tech! 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
Adds rendering tests for GithubWrapped to improve component coverage and verify that wrapped statistics are displayed correctly.
Changes Made
Fixes #1010
Pillar
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.