Migrate to mocha

This commit is contained in:
Daniel Lugo 2021-09-23 21:21:56 -04:00
parent 7bde98e6a3
commit 4b839919fc
5 changed files with 77 additions and 43 deletions

View file

@ -7,8 +7,7 @@
"start": "node main.js -h 0.0.0.0 -c",
"dev": "node --trace-warnings --max-old-space-size=4096 main.js -h 0.0.0.0",
"dev:watch": "nodemon main.js -- -h 0.0.0.0",
"test": "jest --no-cache --runInBand --verbose",
"test:watch": "jest --no-cache --watch",
"test": "mocha ./utils -b -t 50000 --recursive",
"typecheck": "tsc",
"lint": "eslint \"services/gunDB/**/*.js\"",
"format": "prettier --write \"./**/*.js\"",
@ -75,6 +74,7 @@
"@types/gun": "^0.9.2",
"@types/jsonwebtoken": "^8.3.7",
"@types/lodash": "^4.14.168",
"@types/mocha": "^9.0.0",
"@types/node-fetch": "^2.5.8",
"@types/node-persist": "^3.1.1",
"@types/ramda": "types/npm-ramda#dist",
@ -85,6 +85,7 @@
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-prettier": "^3.1.4",
"expect": "^27.2.1",
"lint-staged": "^10.2.2",