diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-09-17 23:42:40 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-09-17 23:42:40 +0200 |
commit | c20f4b4ef539a44c8e091815c5603acbf0fa8d04 (patch) | |
tree | 49e32c077cec3734d939ec4d4bb26980239f593a /api/package.json | |
parent | :bug: fix vanity url (diff) | |
download | server-c20f4b4ef539a44c8e091815c5603acbf0fa8d04.tar.xz |
:bug: fix body parse treating null not as undefined (except for icons/avatars)
Diffstat (limited to 'api/package.json')
-rw-r--r-- | api/package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/api/package.json b/api/package.json index d93a6269..ad959e57 100644 --- a/api/package.json +++ b/api/package.json @@ -5,7 +5,8 @@ "main": "dist/Server.js", "types": "dist/Server.d.ts", "scripts": { - "test": "npm run build && jest --coverage --verbose --forceExit ./tests", + "test:only": "node -r ./scripts/tsconfig-paths-bootstrap.js node_modules/.bin/jest --coverage --verbose --forceExit ./tests", + "test": "npm run build && npm run test:only", "test:watch": "jest --watch", "start": "npm run build && node -r ./scripts/tsconfig-paths-bootstrap.js dist/start", "build": "npx tsc -b .", |