summary refs log tree commit diff
path: root/api/package.json
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-02 00:14:34 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-02 00:14:34 +0200
commit7972f698c566f16e8dea5282f231e409e2f3f397 (patch)
treed0e3cbad579efc4a05a8e4509f7a79b9dbc57364 /api/package.json
parent:arrow_up: update dependencies (diff)
parentadded /login unittest (diff)
downloadserver-7972f698c566f16e8dea5282f231e409e2f3f397.tar.xz
Merge branch 'master' of https://github.com/fosscord/fosscord-api
Diffstat (limited to 'api/package.json')
-rw-r--r--api/package.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/api/package.json b/api/package.json
index dca56b1b..bff625b2 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 --coverage --verbose ./tests",
+		"test": "npm run build && jest --coverage --verbose --forceExit ./tests",
 		"test:watch": "jest --watch",
 		"start": "npm run build && node dist/start",
 		"build": "npx tsc -b .",
@@ -90,9 +90,9 @@
 	},
 	"jest": {
 		"setupFiles": [
-			"<rootDir>/jest/setup.js",
-			"<rootDir>/scripts/setup_test.js"
+			"<rootDir>/jest/setup.js"
 		],
+		"globalSetup": "<rootDir>/scripts/globalSetup.js",
 		"verbose": true
 	}
 }