Skip to content

Commit 98ae406

Browse files
authored
Test growthtrendchart tie (JhaSourav07#1150)
## Description Added a test to verify that GrowthTrendChart correctly renders the "Tie" label when both users have equal monthly contribution totals. ### Changes Made * Added a test case where both users have the same monthly commit count. * Verified that the "Tie" label is rendered in the Commit Battle Timeline. * Ensured existing GrowthTrendChart tests continue to pass. Fixes JhaSourav07#1070 ## Pillar * [ ] 🎨 Pillar 1 — New Theme Design * [ ] 📐 Pillar 2 — Geometric SVG Improvement * [ ] 🕐 Pillar 3 — Timezone Logic Optimization * [x] 🛠️ Other (Bug fix, refactoring, docs) ## Visual Preview N/A (Test-only change) ## Checklist before requesting a review: * [x] I have read the `CONTRIBUTING.md` file. * [x] I have tested these changes locally (`localhost:3000/api/streak?user=YOUR_USERNAME`). * [x] I have run `npm run format` and `npm run lint` locally and resolved all errors (CI will fail otherwise). * [x] My commits follow the Conventional Commits format (e.g., `feat(themes): ...`, `fix(calculate): ...`). * [ ] I have updated `README.md` if I added a new theme or URL parameter. * [x] I have started the repo. * [x] I have made sure that i have only one commit to merge in this PR. * [x] The SVG output matches the CommitPulse "premium quality" aesthetic standard (no raw elements, smooth animations, correct fonts). * [x] (Recommended) I joined the CommitPulse Discord community for contributor discussions, mentorship, and faster PR support.
1 parent c89e3a3 commit 98ae406

0 file changed

File tree

    0 commit comments

    Comments
     (0)