feat: basic testing done

This commit is contained in:
2025-07-14 22:27:49 +02:00
parent a178932afe
commit 8f5036f246
12 changed files with 5310 additions and 60 deletions

View File

@@ -6,7 +6,10 @@
"dev": "next dev -p 3016",
"build": "next build",
"start": "next start -p 3016",
"lint": "next lint"
"lint": "next lint",
"test:load": "loadtest -c 10 --rps 200 http://localhost:3016",
"test": "jest",
"test:watch": "jest --watch"
},
"dependencies": {
"next": "14.2.3",
@@ -16,15 +19,23 @@
"react-dom": "^18"
},
"devDependencies": {
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@types/jest": "^30.0.0",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "14.2.3",
"eslint-config-prettier": "^9.1.0",
"jest": "^30.0.4",
"jest-environment-jsdom": "^30.0.4",
"lint-staged": "^15.2.10",
"loadtest": "^8.2.0",
"prettier": "3.3.3",
"sass": "^1.77.8",
"ts-node": "^10.9.2",
"typescript": "^5"
}
}