added unit testing, and started implementing unit tests...phew

This commit is contained in:
Josh Burman
2019-03-12 22:28:02 -04:00
parent 74aad4a957
commit e8c2539f1b
3489 changed files with 464813 additions and 88 deletions

View File

@ -4,7 +4,7 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "nyc mocha dist/server/test/**/*.spec.js"
},
"repository": {
"type": "git",
@ -17,10 +17,13 @@
},
"homepage": "https://github.com/yardstick/braid#readme",
"dependencies": {
"@types/mocha": "^5.2.6",
"body-parser": "^1.18.3",
"cors": "^2.8.5",
"express": "^4.16.4",
"jsonwebtoken": "^8.5.0",
"websocket": "^1.0.28",
"winston": "^3.2.1",
"ws": "^6.1.4"
},
"devDependencies": {
@ -28,6 +31,9 @@
"@types/express": "^4.16.1",
"@types/jsonwebtoken": "^8.3.0",
"@types/ws": "^6.0.1",
"chai": "^4.2.0",
"mocha": "^6.0.2",
"sinon": "^7.2.7",
"typescript": "^3.3.3333"
}
}