Adding mock test

This commit is contained in:
Belen Curcio
2016-11-02 09:57:18 -03:00
parent f1469d0dbc
commit 265be1898d
2 changed files with 17 additions and 2 deletions
+5 -2
View File
@@ -6,7 +6,8 @@
"scripts": {
"start": "./bin/www",
"lint": "eslint .",
"test": "mocha"
"pretest": "npm install",
"test": "mocha tests"
},
"config": {
"pre-git": {
@@ -14,7 +15,9 @@
"pre-commit": [
"npm run lint"
],
"pre-push": [],
"pre-push": [
"npm test"
],
"post-commit": [],
"post-merge": []
}