Skip to content

test(ShareButtons): create components/ShareButtons.test.tsx#3570

Open
sheeeuWu wants to merge 1 commit into
JhaSourav07:mainfrom
sheeeuWu:test/2281-share-buttons
Open

test(ShareButtons): create components/ShareButtons.test.tsx#3570
sheeeuWu wants to merge 1 commit into
JhaSourav07:mainfrom
sheeeuWu:test/2281-share-buttons

Conversation

@sheeeuWu
Copy link
Copy Markdown
Contributor

@sheeeuWu sheeeuWu commented Jun 3, 2026

Description

Creates components/ShareButtons.test.tsx with 5 unit tests verifying LinkedIn and Twitter share links contain correctly encoded URL and title parameters, title is omitted when not provided, and all links have target="_blank" with rel="noopener noreferrer"

Fixes #2281

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 3, 2026

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

A member of the Team first needs to authorize it.

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.

test(ShareButtons): create components/ShareButtons.test.tsx

1 participant