aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-watcher
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/order-watcher
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/order-watcher')
-rw-r--r--packages/order-watcher/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/order-watcher/package.json b/packages/order-watcher/package.json
index 50afb8f9d..13b7aa34f 100644
--- a/packages/order-watcher/package.json
+++ b/packages/order-watcher/package.json
@@ -25,7 +25,7 @@
"update_compact_artifacts": "copyfiles -u 2 './src/compact_artifacts/**/*.json' ./lib/src/compact_artifacts",
"update_test_artifacts": "for i in ${npm_package_config_contracts}; do copyfiles -u 4 ../migrations/artifacts/1.0.0/$i.json test/artifacts; done;",
"clean": "shx rm -rf _bundles lib test_temp scripts test/artifacts src/generated_contract_wrappers",
- "run_mocha": "mocha lib/test/**/*_test.js lib/test/global_hooks.js --timeout 10000 --bail --exit",
+ "run_mocha": "mocha --require source-map-support/register lib/test/**/*_test.js lib/test/global_hooks.js --timeout 10000 --bail --exit",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js"
},
"config": {