mirror of
https://github.com/detleph/server.git
synced 2026-09-04 08:36:06 +02:00
Added tests for the event endpoints
Also installed chai, chai http & mocha
This commit is contained in:
+8
-2
@@ -4,9 +4,9 @@
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"start": "ts-node src/app.ts",
|
||||
"dev": "nodemon src/app.ts"
|
||||
"dev": "nodemon src/app.ts",
|
||||
"test": "mocha -r ts-node/register --timeout 10000 src/Tests/*.ts"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -20,12 +20,18 @@
|
||||
"homepage": "https://github.com/detleph/server#readme",
|
||||
"dependencies": {
|
||||
"@prisma/client": "^3.2.1",
|
||||
"@types/chai-http": "^4.2.0",
|
||||
"chai-http": "^4.3.0",
|
||||
"dotenv": "^10.0.0",
|
||||
"express": "^4.17.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/chai": "^4.2.22",
|
||||
"@types/express": "^4.17.13",
|
||||
"@types/mocha": "^9.0.0",
|
||||
"@types/node": "^16.10.3",
|
||||
"chai": "^4.3.4",
|
||||
"mocha": "^9.1.3",
|
||||
"prisma": "^3.2.1",
|
||||
"ts-node": "^10.2.1",
|
||||
"typescript": "^4.4.3"
|
||||
|
||||
Reference in New Issue
Block a user