Skip to content

refactor(api): add test for ?size= parameter in streak route#4845

Open
Harsh-vardhan09 wants to merge 5 commits into
JhaSourav07:mainfrom
Harsh-vardhan09:refactor/add-test-for-size
Open

refactor(api): add test for ?size= parameter in streak route#4845
Harsh-vardhan09 wants to merge 5 commits into
JhaSourav07:mainfrom
Harsh-vardhan09:refactor/add-test-for-size

Conversation

@Harsh-vardhan09
Copy link
Copy Markdown
Contributor

Description

  • refactor(api): add test for ?size= parameter in streak route
  • created test in route.test.ts

Fixes #330

Pillar

  • 🎨 Pillar 1 — New Theme Design
  • 📐 Pillar 2 — Geometric SVG Improvement
  • 🕐 Pillar 3 — Timezone Logic Optimization
  • 🛠️ Other (Bug fix, refactoring, docs)

Visual Preview

Checklist before requesting a review:

  • I have read the CONTRIBUTING.md file.
  • I have tested these changes locally (localhost:3000/api/streak?user=YOUR_USERNAME).
  • I have run npm run format and npm run lint locally and resolved all errors (CI will fail otherwise).
  • 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.
  • I have started the repo.
  • I have made sure that i have only one commit to merge in this PR.
  • The SVG output matches the CommitPulse "premium quality" aesthetic standard (no raw elements, smooth animations, correct fonts).
  • (Recommended) I joined the CommitPulse Discord community for contributor discussions, mentorship, and faster PR support.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Jun 7, 2026

@Harsh-vardhan09 is attempting to deploy a commit to the jhasourav07's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Harsh-vardhan09
Copy link
Copy Markdown
Contributor Author

@JhaSourav07 @Aamod007 please check the commit and merge it if ok
feel free to contact if any problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor(api): add test for ?size= parameter in streak route

1 participant