mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 06:16:01 +00:00
feature: generate lcov report on contract coverage
This commit is contained in:
parent
f6c14d9f22
commit
d5eff731f2
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user