Describe the implementation for which test is targeted
Forgot Password route : /auth/forgot-password
Requirement of the test case
To publish only tested APIs as npm package
this route comprises a single controller, but must work around at least some basic test cases to check whether database responses and password is updated successfully.
Expected behavior
All test cases should be well thought of.
No redundancy in test cases.
Test cases should be as minimally exhaustive as possible.
Additional context
Please refer to /src/routes/user/index.ts for checking the routes and their respective controllers.
Describe the implementation for which test is targeted
Requirement of the test case
Expected behavior
Additional context