mirror of
https://github.com/wassname/talk.git
synced 2026-09-09 11:38:08 +08:00
Adding mock test
This commit is contained in:
+5
-2
@@ -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": []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user