-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add unit & integration tests and ES lint #10
Conversation
# Conflicts: # package-lock.json # src/app/api/auth/register/route.ts # src/repositories/commentRepository.ts # src/repositories/eventRepository.ts # src/repositories/journeyRepository.ts # src/repositories/roleRepository.ts # src/repositories/stepRepository.ts # src/repositories/userEventRepository.ts # src/repositories/userRepository.ts # src/repositories/userRoleRepository.ts # src/services/commentService.ts # src/services/eventService.ts # src/services/journeyService.ts # src/services/roleService.ts # src/services/stepService.ts # src/services/userService.ts # src/types/userRole.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sum: config prettier et application de cette config aux différents fichiers du projet
ajout de tests pour la route API pour l'inscription d'utilisateur
environnement dockerisé pour les tests
# Conflicts: # prisma/seed.ts # src/app/api/auth/[...nextauth]/route.ts # src/app/api/events/[id]/leave/[userId]/route.ts # src/app/utils/errorHandlerUtils.ts # src/repositories/eventRepository.ts # src/repositories/journeyRepository.ts # src/repositories/stepRepository.ts # src/repositories/userEventRepository.ts # src/services/eventService.ts # src/services/journeyService.ts # src/services/stepService.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
corrections sur les tests + génération d'un rapport de tests
Add test with test api handler for integration test.
Add a script to run a test db used only for test purposes.
Modify Zod validator for the register