Describe the implementation for which test is targeted
Change password route : /auth/change-password
Requirement of the test case
To publish only tested APIs as npm package
this route comprises of a single controller and 3 middlewares, but must workaround at least some basic test cases to check if database responses and updating password is successful.
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 and middlewares.
Describe the implementation for which test is targeted
Requirement of the test case
Expected behavior
Additional context