Restructure integration and coretests

Also update test script to pick up only tests directly under /test
This commit is contained in:
Wei Lu 2014-05-04 13:30:11 +08:00
parent 633b8f28d2
commit 2affeda3f4
3 changed files with 1 additions and 1 deletions

View file

@ -38,7 +38,7 @@
"files": "test/*.js"
},
"scripts": {
"test": "./node_modules/.bin/istanbul test ./node_modules/.bin/_mocha -- --reporter list test/*.js",
"test": "./node_modules/.bin/istanbul test ./node_modules/.bin/_mocha -- --reporter list `find test -maxdepth 1 -not -type d`",
"coverage": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --reporter list test/*.js",
"compile": "./node_modules/.bin/browserify ./src/index.js -s Bitcoin | ./node_modules/.bin/uglifyjs > bitcoinjs-min.js"
},