diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-06-07 07:51:22 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-06-07 07:54:20 +0800 |
commit | d299458084c46e635d217c777ebc51c47c26a247 (patch) | |
tree | d2eec28ae91e5effe15ddde2580b7fe93f38e785 /packages/0x.js/package.json | |
parent | 5989844f1c3d00f57f1ab86a00aa97e17751c576 (diff) | |
download | dexon-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/0x.js/package.json')
-rw-r--r-- | packages/0x.js/package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json index e43451ad9..d335139e2 100644 --- a/packages/0x.js/package.json +++ b/packages/0x.js/package.json @@ -30,7 +30,7 @@ "clean": "shx rm -rf _bundles lib test_temp scripts src/contract_wrappers/generated", "build:umd:prod": "NODE_ENV=production webpack", "build:commonjs": "tsc && copyfiles -u 2 './src/compact_artifacts/**/*.json' ./lib/src/compact_artifacts && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts", - "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", "docs:stage": "node scripts/stage_docs.js", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $JSON_FILE_PATH $PROJECT_FILES", |