aboutsummaryrefslogtreecommitdiffstats
path: root/packages/connect/package.json
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/connect/package.json
parent5989844f1c3d00f57f1ab86a00aa97e17751c576 (diff)
downloaddexon-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/connect/package.json')
-rw-r--r--packages/connect/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/connect/package.json b/packages/connect/package.json
index 5079467e4..6b5a5a7b0 100644
--- a/packages/connect/package.json
+++ b/packages/connect/package.json
@@ -20,7 +20,7 @@
"clean": "shx rm -rf lib test_temp scripts",
"copy_test_fixtures": "copyfiles -u 2 './test/fixtures/**/*.json' ./lib/test/fixtures",
"lint": "tslint --project .",
- "run_mocha": "mocha lib/test/**/*_test.js --exit",
+ "run_mocha": "mocha --require source-map-support/register lib/test/**/*_test.js --exit",
"test": "run-s copy_test_fixtures run_mocha",
"rebuild_and_test": "run-s clean build test",
"test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",