unit tests

This commit is contained in:
2025-02-12 10:48:47 +01:00
parent 4deb25962e
commit e37bec02c2
7 changed files with 46 additions and 10 deletions

View File

@ -4,7 +4,7 @@
"description": "",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "jest"
},
"author": "Sam Hadow",
"license": "BSD-3-Clause-Attribution",
@ -16,5 +16,9 @@
"express-session": "^1.18.1",
"pg": "^8.13.1",
"socket.io": "^4.8.1"
},
"devDependencies": {
"@babel/preset-env": "^7.26.8",
"jest": "^29.7.0"
}
}