first unit test for badge endpoint

This commit is contained in:
2025-07-17 10:31:01 +02:00
parent c4146a2d65
commit 3774b40987
4 changed files with 3805 additions and 5 deletions
+5 -1
View File
@@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"start": "node src/index.js",
"test": "echo \"Error: no test specified\" && exit 1"
"test": "jest --coverage"
},
"repository": {
"type": "git",
@@ -21,5 +21,9 @@
"axios": "^1.10.0",
"express": "^5.1.0",
"helmet": "^8.1.0"
},
"devDependencies": {
"jest": "^29.7.0",
"supertest": "^7.1.3"
}
}