-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
Description
🧪 Add Unit Tests for Core Backend Services
📌 Description
Currently, the project does not include automated unit tests for backend services and route logic. Adding unit tests will improve code reliability, maintainability, and help prevent regressions during future development.
🎯 Objective
Implement unit testing for core backend modules such as:
- Authentication routes
- Vehicle services
- Booking services
- AI or map-related routes (if applicable)
✅ Tasks
- Select a testing framework (recommended: Jest)
- Install required testing dependencies
- Configure test environment
- Write unit tests for important service logic
- Ensure tests run successfully using
npm test
💡 Expected Outcome
- Test coverage for core modules
- Developers can run automated tests before merging PRs
- Improved project stability
📚 Additional Notes
Tests should be well-structured and follow best practices.
Mock external services (e.g., database calls) where necessary.
I would like to work on this issue.
Assign this to me.
Thanks !
Reactions are currently unavailable