adding unit test for rendering home page

This commit is contained in:
SinusFox
2024-10-11 11:33:21 +02:00
parent d92236e6ef
commit f9a71d5042
8 changed files with 4351 additions and 26 deletions
+8 -1
View File
@@ -6,13 +6,16 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
"lint": "next lint",
"test": "jest --watchAll",
"test:ci": "jest --ci --coverage"
},
"dependencies": {
"glpk.js": "^4.0.2",
"i18n": "^0.15.1",
"i18next": "^23.15.2",
"i18next-browser-languagedetector": "^8.0.0",
"jest-environment-jsdom": "^29.7.0",
"next": "14.2.11",
"next-i18next": "^15.3.1",
"react": "^18",
@@ -22,11 +25,15 @@
"reactjs-popup": "^2.0.6"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "14.2.11",
"jest": "^29.7.0",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"typescript": "^5"