add mock tests to server

This commit is contained in:
Maxime Cannoodt 2022-07-04 22:11:45 +02:00
parent 587a561035
commit 8e3d0d42bd

View File

@ -4,9 +4,8 @@
"description": "", "description": "",
"main": "server.js", "main": "server.js",
"scripts": { "scripts": {
"test-watch": "vitest", "test": "echo 'No tests set up for the server.'",
"test": "vitest run", "coverage": "echo 'No coverage set up for the server.'",
"coverage": "vitest run --coverage",
"build": "npx tsc", "build": "npx tsc",
"dev": "npx nodemon ./server.ts" "dev": "npx nodemon ./server.ts"
}, },
@ -30,7 +29,6 @@
"prisma": "^4.0.0", "prisma": "^4.0.0",
"supertest": "^6.2.3", "supertest": "^6.2.3",
"ts-node": "^10.8.1", "ts-node": "^10.8.1",
"typescript": "^4.7.4", "typescript": "^4.7.4"
"vitest": "^0.15.1"
} }
} }