feature: generate lcov report on contract coverage

This commit is contained in:
Andre Medeiros 2019-03-26 13:42:31 -04:00 committed by Michael Bradley, Jr
parent f6c14d9f22
commit d5eff731f2

View File

@ -84,7 +84,7 @@ class TestRunner {
} }
global.embark.events.emit('tests:finished', function() { global.embark.events.emit('tests:finished', function() {
runCmd(`${self.fs.embarkPath('node_modules/.bin/istanbul')} report --root .embark --format html`, runCmd(`${self.fs.embarkPath('node_modules/.bin/istanbul')} report --root .embark --format html --format lcov`,
{silent: false, exitOnError: false}, (err) => { {silent: false, exitOnError: false}, (err) => {
if (err) { if (err) {
return next(err); return next(err);