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

@@ -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",