Added jest

This commit is contained in:
mrfry 2021-05-04 10:27:12 +02:00
parent 4e6b3deb9b
commit 8801bb96cd
3 changed files with 12563 additions and 37 deletions

View file

@ -20,11 +20,18 @@
"start": "node ./dist/server.js",
"dev": "npm run build && NS_DEVEL=1 NS_NOUSER=1 NS_LOGLEVEL=1 node ./dist/server.js",
"build": "tsc && bash -c './scripts/postBuild.sh'",
"export": "tsc && bash -c './scripts/postBuild.sh'"
"export": "tsc && bash -c './scripts/postBuild.sh'",
"test": "jest"
},
"devDependencies": {
"@types/jest": "^26.0.23",
"@typescript-eslint/eslint-plugin": "^4.8.1",
"@typescript-eslint/parser": "^4.22.0",
"eslint": "^7.14.0"
"eslint": "^7.14.0",
"jest": "^26.6.3",
"ts-jest": "^26.5.5"
},
"jest": {
"preset": "ts-jest"
}
}