add sample tests for post commit hook

This commit is contained in:
pi-victor 2016-04-11 20:52:20 +02:00
parent 6263b25a02
commit 4166119035
6 changed files with 80 additions and 31 deletions

View file

@ -4,16 +4,21 @@
"description": "Node.js sample app for OpenShift 3",
"main": "server.js",
"dependencies": {
"express": "*",
"mongodb": "*",
"ejs": "*"
"chai": "^3.5.0",
"chai-http": "^2.0.1",
"ejs": "^2.4.1",
"express": "^4.13.4",
"mocha": "^2.4.5",
"mongodb": "^2.1.16",
"morgan": "^1.7.0"
},
"engine": {
"node": "*",
"npm": "*"
},
"scripts": {
"start": "node server.js"
"start": "node server.js",
"test": "IP=0.0.0.0 PORT=3030 mocha --timeout 5000 tests/*_test.js"
},
"repository": {
"type": "git",