diff options
author | xnacly <matteogropp@protonmail.com> | 2021-09-01 22:13:27 +0200 |
---|---|---|
committer | xnacly <matteogropp@protonmail.com> | 2021-09-01 22:13:27 +0200 |
commit | 3905c51b351b0b0ad807d1c1216a493a77fb4737 (patch) | |
tree | b27165cb1359c8a5a2dc70f1b6cc98f0b8e4b8c1 /api | |
parent | fixed globalSetup for jest (diff) | |
download | server-3905c51b351b0b0ad807d1c1216a493a77fb4737.tar.xz |
see parent
Diffstat (limited to 'api')
-rw-r--r-- | api/package.json | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/api/package.json b/api/package.json index 37db6ff3..66d94764 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 .", @@ -86,9 +86,9 @@ }, "jest": { "setupFiles": [ - "<rootDir>/jest/setup.js", - "<rootDir>/scripts/setup_test.js" + "<rootDir>/jest/setup.js" ], + "globalSetup": "<rootDir>/scripts/globalSetup.js", "verbose": true } } |