Add base tests

This commit is contained in:
MartinBraquet
2025-08-04 10:26:19 +02:00
parent c284983b4b
commit ed515fa3fc
11 changed files with 4041 additions and 20 deletions

View File

@@ -7,7 +7,11 @@
"postinstall": "npx prisma generate --no-engine",
"build": "npx prisma migrate deploy && next build",
"start": "next start",
"lint": "next lint"
"lint": "next lint",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:update": "jest --updateSnapshot"
},
"dependencies": {
"@auth/prisma-adapter": "^2.10.0",
@@ -48,11 +52,18 @@
},
"devDependencies": {
"@eslint/eslintrc": "^3",
"@testing-library/jest-dom": "^6.6.4",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/jest": "^30.0.0",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"@types/testing-library__jest-dom": "^6.0.0",
"eslint": "^9",
"eslint-config-next": "15.1.7",
"jest": "^30.0.5",
"jest-environment-jsdom": "^30.0.5",
"postcss": "^8",
"prisma": "^6.13.0",
"tailwindcss": "^3.4.1",