aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-06-07 07:51:22 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-06-07 07:54:20 +0800
commitd299458084c46e635d217c777ebc51c47c26a247 (patch)
treed2eec28ae91e5effe15ddde2580b7fe93f38e785 /packages/contracts
parent5989844f1c3d00f57f1ab86a00aa97e17751c576 (diff)
downloaddexon-sol-tools-d299458084c46e635d217c777ebc51c47c26a247.tar
dexon-sol-tools-d299458084c46e635d217c777ebc51c47c26a247.tar.gz
dexon-sol-tools-d299458084c46e635d217c777ebc51c47c26a247.tar.bz2
dexon-sol-tools-d299458084c46e635d217c777ebc51c47c26a247.tar.lz
dexon-sol-tools-d299458084c46e635d217c777ebc51c47c26a247.tar.xz
dexon-sol-tools-d299458084c46e635d217c777ebc51c47c26a247.tar.zst
dexon-sol-tools-d299458084c46e635d217c777ebc51c47c26a247.zip
Use source-map-support package to include correct line numbers in mocha
Diffstat (limited to 'packages/contracts')
-rw-r--r--packages/contracts/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/package.json b/packages/contracts/package.json
index fee22953e..d1086750b 100644
--- a/packages/contracts/package.json
+++ b/packages/contracts/package.json
@@ -18,7 +18,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/**/*.js' --timeout 100000 --bail --exit",
+ "run_mocha": "mocha --require source-map-support/register 'lib/test/**/*.js' --timeout 100000 --bail --exit",
"compile": "sol-compiler",
"clean": "shx rm -rf lib src/contract_wrappers/generated",
"generate_contract_wrappers":