summary refs log tree commit diff
path: root/api/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'api/package.json')
-rw-r--r--api/package.json10
1 files changed, 9 insertions, 1 deletions
diff --git a/api/package.json b/api/package.json
index eef2d069..ff9efa52 100644
--- a/api/package.json
+++ b/api/package.json
@@ -5,7 +5,7 @@
 	"main": "dist/Server.js",
 	"types": "dist/Server.d.ts",
 	"scripts": {
-		"test": "npm run build && jest",
+		"test": "npm run build && jest --coverage --verbose ./tests",
 		"test:watch": "jest --watch",
 		"start": "npm run build && node dist/start",
 		"build": "npx tsc -b .",
@@ -81,6 +81,14 @@
 		"mongoose-long": "^0.3.2",
 		"multer": "^1.4.2",
 		"node-fetch": "^2.6.1",
+		"supertest": "^6.1.6",
 		"typeorm": "^0.2.37"
+	},
+	"jest": {
+		"setupFilesAfterEnv": [
+			"<rootDir>/jest/setup.js",
+			"<rootDir>/scripts/setup_test.js"
+		],
+		"verbose": true
 	}
 }