aboutsummaryrefslogtreecommitdiffstats
path: root/packages/subproviders
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/subproviders
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/subproviders')
-rw-r--r--packages/subproviders/package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/subproviders/package.json b/packages/subproviders/package.json
index 743bd6669..b222ace3b 100644
--- a/packages/subproviders/package.json
+++ b/packages/subproviders/package.json
@@ -12,8 +12,8 @@
"build": "tsc && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts",
"clean": "shx rm -rf lib scripts",
"lint": "tslint --project .",
- "run_mocha_unit": "mocha lib/test/unit/**/*_test.js --timeout 10000 --bail --exit",
- "run_mocha_integration": "mocha lib/test/integration/**/*_test.js --timeout 10000 --bail --exit",
+ "run_mocha_unit": "mocha --require source-map-support/register lib/test/unit/**/*_test.js --timeout 10000 --bail --exit",
+ "run_mocha_integration": "mocha --require source-map-support/register lib/test/integration/**/*_test.js --timeout 10000 --bail --exit",
"test": "npm run test:unit",
"test:unit:coverage": "nyc npm run test:unit --all && yarn coverage:report:lcov",
"coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",