Skip to content
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

Merged
merged 13 commits into from
Jun 24, 2024
Merged

Conversation

MaximeDan
Copy link
Owner

@MaximeDan MaximeDan commented May 24, 2024

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

alexandre-kakal-akarah and others added 7 commits May 23, 2024 10:18
# 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
Copy link
Collaborator

@alexandre-kakal alexandre-kakal left a 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
@MaximeDan MaximeDan changed the title Mda test register Add unit & integration tests and ES lint Jun 24, 2024
Copy link
Collaborator

@alexandre-kakal alexandre-kakal left a 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

@alexandre-kakal alexandre-kakal merged commit a877a22 into main Jun 24, 2024
1 of 2 checks passed
@alexandre-kakal alexandre-kakal deleted the MDA-test_register branch June 24, 2024 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants