diff --git a/package.json b/package.json index 3b27ec91..4fd6585f 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "scripts": { "coverage-report": "nyc report --reporter=lcov", "coverage-html": "nyc report --reporter=html", - "coverage": "nyc --check-coverage --branches 90 --functions 90 mocha", + "coverage": "nyc --check-coverage --branches 90 --functions 90 mocha test/ test/forks/*", "integration": "mocha test/integration/", "standard": "standard", "test": "npm run standard && npm run coverage", diff --git a/test/forks/btg/transaction_builder.js b/test/forks/btg/transaction_builder.js index 2f4f8492..8f1fa4b5 100644 --- a/test/forks/btg/transaction_builder.js +++ b/test/forks/btg/transaction_builder.js @@ -9,7 +9,7 @@ const { ECPair, script, crypto -} = require('..') +} = require('../../../src') describe('TransactionBuilder (BTG)', function () { var network = networks['bitcoingold']