-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Summary
Title: Update Unit Tests for auth.controller.ts in test/auth/auth.controller.spec.ts
The auth module already exists, but it currently lacks some unit tests for the controller layer.
This issue is to Update the missing tests suite for auth.controller.ts.
Task
Navigate to:
- test/auth/auth.controller.spec.ts
- Implement unit tests covering:
- All public methods in auth.controller.ts
- Expected success flows
- Expected failure/error scenarios
- Mocking dependencies such as:
- Repositories
- External services (if any)
Testing Requirements
- Use Jest as the testing framework (default for NestJS).
- Use TestingModule with mocked providers.
- Ensure 90%+ coverage for auth.controller.ts.
- Tests should be isolated, not touching database or integration logic.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels