Skip to content

Commit

Permalink
Fix tests so they can be run with npm test
Browse files Browse the repository at this point in the history
  • Loading branch information
HughePaul committed Mar 9, 2018
1 parent bf8bfc5 commit dfbdece
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ language: node_js
node_js:
- 0.4
- 0.6
- 4
- 8
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
},
"main": "./index",
"scripts": {
"test": "make test"
"test": "npm run test:unit && npm run test:integration",
"test:unit": "make test type=unit",
"test:integration": "make test type=integration"
},
"engines": {
"node": "*"
Expand Down

0 comments on commit dfbdece

Please sign in to comment.