Conversation
…es de commits - README.md con secciones de instalación, ejecución y testing - Swagger UI configurado en /api/docs con decoradores en endpoints y DTOs - COMMITS.md con guía de Conventional Commits y ejemplos prácticos - Documentación adicional en carpeta docs/
Add 140 unit tests covering all critical authentication components with 68% overall code coverage. Tests added: - AuthService: Google OAuth validation, JWT generation, user CRUD operations - AuthController: Google authentication endpoints and callbacks - Guards: JwtAuthGuard, RolesGuard, GoogleAuthGuard - Strategies: JwtStrategy, GoogleStrategy - Decorators: @public, @roles, @getuser - DTOs: GoogleUserDto, AuthResponseDto validation - Configuration: Environment variable validation - PrismaService: Database connection lifecycle Test Infrastructure: - Configure Jest with moduleNameMapper for path resolution - Add reflect-metadata setup for decorators - Create mock PrismaClient for testing without database - Add test coverage reporting Coverage: - 100% coverage on AuthService, AuthController, all Guards, all Strategies, DTOs, and PrismaService - 68.16% overall statement coverage - 84.61% branch coverage - 11 test suites, 140 tests passing All tests pass successfully.
Added a comment for unit tests related to database connection handling.
Added unit tests to ensure all required environment variables exist, preventing production errors.
Feat/unit tests
Feat/documentacion
…uth.controller imports
* feat(gestionUsuario): administración de usuarios * feat(biografia):como usuario quiero editar mi bigrafia
… structure (#10) * fix: update Prisma schema and user service to use new role and status structure * fix: update AuthController to use gatewayUrl instead of frontendUrl for redirects * fix: update JWT_SECRET in .env.template for consistency
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



No description provided.