implementation de nodemailer for email validation

This commit is contained in:
2026-06-26 14:01:38 +02:00
parent 45535e2b21
commit baa1b8ccc0
14 changed files with 5235 additions and 24 deletions

12
backend/tests/setup.js Normal file
View File

@@ -0,0 +1,12 @@
const prisma = require("../src/config/prisma");
beforeAll(async () => {
await prisma.claim.deleteMany();
await prisma.participation.deleteMany();
await prisma.ticket.deleteMany();
await prisma.user.deleteMany();
});
afterAll(async () => {
await prisma.$disconnect();
});