aboutsummaryrefslogtreecommitdiffstats
path: root/packages/metacoin
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-06-08 02:55:47 +0800
committerGitHub <noreply@github.com>2018-06-08 02:55:47 +0800
commit05fe8792eae64257286e628ae2b437c7e3c041d0 (patch)
treed6f7e4bbc610a2f4997b25b5d9e5353f15f03b79 /packages/metacoin
parente0bc01eea1c20e0afda296f331c6a475e062b59c (diff)
parentd299458084c46e635d217c777ebc51c47c26a247 (diff)
downloaddexon-sol-tools-05fe8792eae64257286e628ae2b437c7e3c041d0.tar
dexon-sol-tools-05fe8792eae64257286e628ae2b437c7e3c041d0.tar.gz
dexon-sol-tools-05fe8792eae64257286e628ae2b437c7e3c041d0.tar.bz2
dexon-sol-tools-05fe8792eae64257286e628ae2b437c7e3c041d0.tar.lz
dexon-sol-tools-05fe8792eae64257286e628ae2b437c7e3c041d0.tar.xz
dexon-sol-tools-05fe8792eae64257286e628ae2b437c7e3c041d0.tar.zst
dexon-sol-tools-05fe8792eae64257286e628ae2b437c7e3c041d0.zip
Merge pull request #676 from 0xProject/feature/mocha-source-maps
Use source-map-support package to include correct line numbers in mocha
Diffstat (limited to 'packages/metacoin')
-rw-r--r--packages/metacoin/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/metacoin/package.json b/packages/metacoin/package.json
index 35e54314a..74b55b592 100644
--- a/packages/metacoin/package.json
+++ b/packages/metacoin/package.json
@@ -17,7 +17,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",