Skip to content

test: add tooltip utils empty fallback tests#3310

Open
mayank200529 wants to merge 1 commit into
JhaSourav07:mainfrom
mayank200529:test-tooltiputils-empty-fallback
Open

test: add tooltip utils empty fallback tests#3310
mayank200529 wants to merge 1 commit into
JhaSourav07:mainfrom
mayank200529:test-tooltiputils-empty-fallback

Conversation

@mayank200529
Copy link
Copy Markdown
Contributor

Description

Fixes #2633

Added isolated Vitest coverage for components/dashboard/tooltipUtils.ts empty and fallback edge cases.

Pillar

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

Visual Preview

Not applicable — test-only change.

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

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

A member of the Team first needs to authorize it.

@mayank200529
Copy link
Copy Markdown
Contributor Author

@JhaSourav07 authorize

@github-actions github-actions Bot added the type:testing Adding, updating, or fixing tests label Jun 3, 2026
@Aamod007 Aamod007 added GSSoC 2026 mentor:Aamod007 level:advanced Complex contributions involving architecture, optimization, or significant feature work quality:clean PR follows clean coding practices, proper formatting, documentation, and maintainability standards. labels Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GSSoC 2026 level:advanced Complex contributions involving architecture, optimization, or significant feature work mentor:Aamod007 quality:clean PR follows clean coding practices, proper formatting, documentation, and maintainability standards. type:testing Adding, updating, or fixing tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(tooltipUtils-empty-fallback): verify Edge Cases & Empty/Missing Inputs Verification (Variation 1)

2 participants