Skip to content

Commit

Permalink
Fix test script & add it to pre-commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
gillchristian committed Nov 11, 2016
1 parent b56028b commit 9cd3f94
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"homepage": "https://github.com/huemul/trae#readme",
"scripts": {
"main": "src/index.js",
"test": " --coverage --verbose",
"test": "jest --coverage --verbose",
"test:w": "jest --watch --verbose",
"check-cover": "open coverage/lcov-report/index.html",
"eslint": "eslint . --ext .js"
Expand All @@ -46,7 +46,8 @@
"pre-commit": "^1.1.3"
},
"pre-commit": [
"eslint"
"eslint",
"test"
],
"jest": {
"coverageThreshold": {
Expand Down

0 comments on commit 9cd3f94

Please sign in to comment.