summary refs log tree commit diff
path: root/package.json
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-03-30 15:39:00 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-03-30 15:39:00 +0200
commitcf70e8cff628f1289a36869b1d42c3439fca8f58 (patch)
tree7d0ad4a2d857788eed9148a16f46f7bc3356b707 /package.json
parent:bug: rewrite imports (diff)
downloadserver-ts-cf70e8cff628f1289a36869b1d42c3439fca8f58.tar.xz
:white_check_mark: setup jest environment
Diffstat (limited to 'package.json')
-rw-r--r--package.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/package.json b/package.json

index 956b1841..f0b540e7 100644 --- a/package.json +++ b/package.json
@@ -4,7 +4,8 @@ "description": "This repository contains the HTTP API Server", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", + "test": "jest", + "test:watch": "jest --watch", "start": "npm run build && node dist/", "build": "tsc -b .", "postinstall": "patch-package" @@ -21,6 +22,7 @@ }, "homepage": "https://github.com/fosscord/fosscord-api#readme", "dependencies": { + "@types/jest": "^26.0.22", "bcrypt": "^5.0.0", "body-parser": "^1.19.0", "dotenv": "^8.2.0", @@ -49,6 +51,7 @@ "@types/node-fetch": "^2.5.7", "@zerollup/ts-transform-paths": "^1.7.18", "0x": "^4.10.2", + "jest": "^26.6.3", "node-fetch": "^2.6.1", "ts-node": "^9.1.1", "typescript": "^4.1.2"