test(api-resume-upload): create integration tests for resume upload route#5939
Conversation
📦 Next.js Bundle Size Report (Gzipped Sizes)✨ No significant bundle size changes detected. 📊 Summary of Totals
|
ARPANPATRA111
left a comment
There was a problem hiding this comment.
@Aamod007 @souravjhahind @JhaSourav07 review and merge
Aamod007
left a comment
There was a problem hiding this comment.
Difficulty: intermediate – Adds integration tests to upload.test.ts (42 additions) for resume upload API route.
Quality: clean – Proper API testing.
Type: testing – Integration coverage.
Good API tests!
|
🎉 Congratulations @ARPANPATRA111! Your PR has been successfully merged. 🚀 Thank you for contributing to CommitPulse. Your work helps us build a better tool for the community.
Keep building! 💻✨ |
Description
Fixes #2355
Enhances integration test coverage for the
POST /api/student/resume/uploadroute.Changes
makeEmptyUploadRequest()helper for testing missing file scenarioafterEachto restore originalFormDataTests (5 total — 3 existing + 2 new)
Pillar
Checklist before requesting a review:
CONTRIBUTING.mdfile.npm run formatandnpm run lintlocally and resolved all errors (CI will fail otherwise).