From 2affeda3f49ba54eac0d853a4b95c63b8ecd728e Mon Sep 17 00:00:00 2001 From: Wei Lu Date: Sun, 4 May 2014 13:30:11 +0800 Subject: [PATCH] Restructure integration and coretests Also update test script to pick up only tests directly under /test --- package.json | 2 +- test/{integration.js => integration/p2sh.js} | 0 qa/coretests.js => test/scripts/syncfixtures.js | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename test/{integration.js => integration/p2sh.js} (100%) rename qa/coretests.js => test/scripts/syncfixtures.js (100%) diff --git a/package.json b/package.json index 1e66d7f..805007d 100644 --- a/package.json +++ b/package.json @@ -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" }, diff --git a/test/integration.js b/test/integration/p2sh.js similarity index 100% rename from test/integration.js rename to test/integration/p2sh.js diff --git a/qa/coretests.js b/test/scripts/syncfixtures.js similarity index 100% rename from qa/coretests.js rename to test/scripts/syncfixtures.js