Add user and auth tests

This commit is contained in:
Aslan 2025-12-27 13:02:02 +01:00
parent 72d7b22891
commit 4bc3be87b4
15 changed files with 288 additions and 26 deletions

View file

@ -12,7 +12,8 @@
"main": "index.js",
"scripts": {
"build": "npx tsc",
"start": "npx tsc && node --env-file=.env dist/index.js"
"start": "npx tsc && node --env-file=.env dist/index.js",
"test": "node --test tests/**/*.test.js"
},
"devDependencies": {
"@types/jsonwebtoken": "^9.0.10",
@ -29,6 +30,7 @@
"argon2": "^0.44.0",
"fastify": "^5.6.2",
"jsonwebtoken": "^9.0.3",
"pg": "^8.16.3"
"pg": "^8.16.3",
"uuid": "^13.0.0"
}
}