Description:
- The JWT_SECRET environment variable is not set in the testing environment, causing the application to exit early.
- This causes test failing with the message: "secretOrPrivateKey must have a value."
What should've been done:
- Set up a default value for the JWT_SECRET variable in the testing environment.
Suggested Fix:
- Modify the test configuration to include a mock JWT_SECRET value.
- Or update the code to handle missing environment variables without exiting.
Priority: High
Status: To-do
Expected time required to fix it: 1 day
Description:
What should've been done:
Suggested Fix:
Priority: High
Status: To-do
Expected time required to fix it: 1 day