You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
Write unit tests to ensure reliability for user profile-related operations, including creating profiles, editing them, and fetching the portfolio.
Tasks:
Write tests for POST /api/users/profile to ensure new user profiles are created successfully.
Write tests for PUT /api/users/profile/:id to validate correct updates to a user’s bio/skills or profile picture.
Write tests for GET /api/users/profile/:id/portfolio to validate fetching a user’s portfolio data.
Use Jest (or a similar testing framework) to mock database interactions with MongoDB.
Handle edge cases such as invalid data submissions, database connection failures, or missing fields.
Estimated Time: 48 hours
Please claim this issue
The text was updated successfully, but these errors were encountered:
Since you have not registered, you can't work on this issue. If you have already registered on unstop & joined discord server after registering on https://events.geekhaven.in, then contact organisers.
Description:
Write unit tests to ensure reliability for user profile-related operations, including creating profiles, editing them, and fetching the portfolio.
Tasks:
Write tests for POST /api/users/profile to ensure new user profiles are created successfully.
Write tests for PUT /api/users/profile/:id to validate correct updates to a user’s bio/skills or profile picture.
Write tests for GET /api/users/profile/:id/portfolio to validate fetching a user’s portfolio data.
Use Jest (or a similar testing framework) to mock database interactions with MongoDB.
Handle edge cases such as invalid data submissions, database connection failures, or missing fields.
Estimated Time: 48 hours
Please claim this issue
The text was updated successfully, but these errors were encountered: