Use source-map-support package to include correct line numbers in mocha

This commit is contained in:
Alex Browne
2018-06-06 16:51:22 -07:00
parent 5989844f1c
commit d299458084
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",