diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-06-08 02:55:47 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-08 02:55:47 +0800 |
commit | 05fe8792eae64257286e628ae2b437c7e3c041d0 (patch) | |
tree | d6f7e4bbc610a2f4997b25b5d9e5353f15f03b79 /packages/subproviders | |
parent | e0bc01eea1c20e0afda296f331c6a475e062b59c (diff) | |
parent | d299458084c46e635d217c777ebc51c47c26a247 (diff) | |
download | dexon-sol-tools-05fe8792eae64257286e628ae2b437c7e3c041d0.tar dexon-sol-tools-05fe8792eae64257286e628ae2b437c7e3c041d0.tar.gz dexon-sol-tools-05fe8792eae64257286e628ae2b437c7e3c041d0.tar.bz2 dexon-sol-tools-05fe8792eae64257286e628ae2b437c7e3c041d0.tar.lz dexon-sol-tools-05fe8792eae64257286e628ae2b437c7e3c041d0.tar.xz dexon-sol-tools-05fe8792eae64257286e628ae2b437c7e3c041d0.tar.zst dexon-sol-tools-05fe8792eae64257286e628ae2b437c7e3c041d0.zip |
Merge pull request #676 from 0xProject/feature/mocha-source-maps
Use source-map-support package to include correct line numbers in mocha
Diffstat (limited to 'packages/subproviders')
-rw-r--r-- | packages/subproviders/package.json | 4 |
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", |