Skip to content

Commit 43c79e5

Browse files
authored
My new test branch (JhaSourav07#2418)
## Description Created the `ComparisonStatsCard` UI component to display dynamic growth metrics (positive/negative/neutral trends). Additionally, implemented a robust 12-test suite in Vitest and configured `vitest.config.ts` to properly route `.test.tsx` files to the `jsdom` environment. Fixes JhaSourav07#1510 ## 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 — This PR focuses on a UI component structure and a Vitest testing suite. All 1009 tests pass locally. ## 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.
2 parents 659b584 + a012ad9 commit 43c79e5

5 files changed

Lines changed: 497 additions & 158 deletions

File tree

0 commit comments

Comments
 (0)