Merge pull request #676 from 0xProject/feature/mocha-source-maps

Use source-map-support package to include correct line numbers in mocha
This commit is contained in:
Alex Browne
2018-06-07 11:55:47 -07:00
committed by GitHub
18 changed files with 26 additions and 18 deletions

View File

@@ -13,7 +13,7 @@
"test": "yarn run_mocha",
"rebuild_and_test": "run-s clean build test",
"test:circleci": "yarn test:coverage",
"run_mocha": "mocha lib/test/**/*_test.js --bail --exit",
"run_mocha": "mocha --require source-map-support/register lib/test/**/*_test.js --bail --exit",
"test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",
"coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
"clean": "shx rm -rf lib scripts",