Use source-map-support package to include correct line numbers in mocha
This commit is contained in:
@@ -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",
|
||||
|
Reference in New Issue
Block a user