debuts de tests unitaires

This commit is contained in:
Yannick Le Duc
2025-08-27 13:31:55 +02:00
parent dc388bf371
commit 924d2714c7
12 changed files with 6089 additions and 5 deletions

View File

@@ -8,7 +8,12 @@
"start": "next start",
"lint": "eslint",
"lint:fix": "eslint --fix",
"test:security": "node scripts/test-security.js"
"test:security": "node scripts/test-security.js",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:e2e": "playwright test",
"test:working": "node scripts/run-tests.js"
},
"dependencies": {
"@headlessui/react": "^2.2.7",
@@ -47,6 +52,15 @@
"eslint-config-next": "15.5.0",
"tailwindcss": "^4",
"tw-animate-css": "^1.3.7",
"typescript": "^5"
"typescript": "^5",
"@testing-library/react": "^15.0.0",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/user-event": "^14.5.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"@types/jest": "^29.5.12",
"msw": "^2.2.3",
"playwright": "^1.42.1",
"@playwright/test": "^1.42.1"
}
}