Skip to content

test: add unit tests for confirm resume API route#3550

Open
boss477 wants to merge 1 commit into
JhaSourav07:mainfrom
boss477:fix/issue-3459
Open

test: add unit tests for confirm resume API route#3550
boss477 wants to merge 1 commit into
JhaSourav07:mainfrom
boss477:fix/issue-3459

Conversation

@boss477
Copy link
Copy Markdown
Contributor

@boss477 boss477 commented Jun 3, 2026

Description

This PR adds integration tests for the student resume confirmation API route, testing malformed request payloads, rate limiting 429 status code handling, database bypass on unset environment variables, and input username sanitization during updates.

Fixes #3459

Pillar

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

Visual Preview

N/A (Utility/Unit Tests only)

Checklist before requesting a review:

  • I have read the CONTRIBUTING.md file.
  • I have tested these changes locally.
  • I have run npm run format and npm run lint locally and resolved all errors.
  • My commits follow the Conventional Commits format.
  • 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.
  • (Recommended) I joined the CommitPulse Discord community.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Jun 3, 2026

@boss477 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: add unit tests for confirm resume API route

1 participant