diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-06-07 07:51:22 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-06-07 07:54:20 +0800 |
commit | d299458084c46e635d217c777ebc51c47c26a247 (patch) | |
tree | d2eec28ae91e5effe15ddde2580b7fe93f38e785 /packages/metacoin | |
parent | 5989844f1c3d00f57f1ab86a00aa97e17751c576 (diff) | |
download | dexon-0x-contracts-d299458084c46e635d217c777ebc51c47c26a247.tar.gz dexon-0x-contracts-d299458084c46e635d217c777ebc51c47c26a247.tar.zst dexon-0x-contracts-d299458084c46e635d217c777ebc51c47c26a247.zip |
Use source-map-support package to include correct line numbers in mocha
Diffstat (limited to 'packages/metacoin')
-rw-r--r-- | packages/metacoin/package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/metacoin/package.json b/packages/metacoin/package.json index 3d46d4f9f..2b0166a25 100644 --- a/packages/metacoin/package.json +++ b/packages/metacoin/package.json @@ -16,7 +16,7 @@ "test": "yarn run_mocha", "rebuild_and_test": "run-s build test", "test:coverage": "SOLIDITY_COVERAGE=true run-s build run_mocha coverage:report:text coverage:report:lcov", - "run_mocha": "mocha lib/test/**/*_test.js lib/test/global_hooks.js --bail --exit", + "run_mocha": "mocha --require source-map-support/register lib/test/**/*_test.js lib/test/global_hooks.js --bail --exit", "generate_contract_wrappers": "abi-gen --abis 'artifacts/Metacoin.json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers --backend ethers", "coverage:report:text": "istanbul report text", "coverage:report:html": "istanbul report html && open coverage/index.html", |