added unit testing, and started implementing unit tests...phew
This commit is contained in:
@ -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"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user