Added unit and api tests

This commit is contained in:
Brian McGonagill 2026-03-26 10:21:19 -05:00
parent 9f4204cc73
commit fedf1eb4c5
34 changed files with 9205 additions and 20 deletions

View file

@ -5,10 +5,13 @@
"scripts": {
"dev": "nodemon --exec 'npx ts-node --transpile-only src/index.ts'",
"build": "tsc",
"build:test": "vitest run --no-file-parallelism && tsc",
"start": "node dist/index.js",
"db:generate": "prisma generate",
"db:push": "prisma db push",
"db:migrate": "prisma migrate dev"
"db:migrate": "prisma migrate dev",
"test": "vitest --no-file-parallelism",
"test:run": "vitest run --no-file-parallelism"
},
"keywords": [],
"author": "",
@ -32,11 +35,15 @@
"@types/express": "^4.17.21",
"@types/jsonwebtoken": "^9.0.7",
"@types/multer": "^1.4.12",
"@types/node": "^22.15.21",
"@types/node": "^22.19.15",
"@types/supertest": "^7.2.0",
"@types/uuid": "^10.0.0",
"nodemon": "^3.1.9",
"prisma": "^5.22.0",
"supertest": "^7.2.2",
"ts-node": "^10.9.2",
"typescript": "^5.8.2"
"tsx": "^4.21.0",
"typescript": "^5.8.2",
"vitest": "^4.1.1"
}
}