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/sol-cov/package.json | |
parent | 5989844f1c3d00f57f1ab86a00aa97e17751c576 (diff) | |
download | dexon-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/sol-cov/package.json')
-rw-r--r-- | packages/sol-cov/package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/sol-cov/package.json b/packages/sol-cov/package.json index 616b30912..2b4c1db40 100644 --- a/packages/sol-cov/package.json +++ b/packages/sol-cov/package.json @@ -17,7 +17,7 @@ "test:coverage": "nyc npm run test --all && yarn coverage:report:lcov", "coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info", "test:circleci": "yarn test:coverage", - "run_mocha": "mocha lib/test/**/*_test.js --exit", + "run_mocha": "mocha --require source-map-support/register lib/test/**/*_test.js --exit", "clean": "shx rm -rf lib scripts test/fixtures/artifacts src/artifacts", "copy_test_fixtures": "copyfiles 'test/fixtures/**/*' ./lib", "compile_test": "sol-compiler compile", |