Skip to content

Commit 8ec6686

Browse files
committed
Merge pull request #403 from lgrammel/master
Fix LCOV coverage reporting for toHTML=false
2 parents 5fb818c + b0b0516 commit 8ec6686

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/reporters/lcov_reporter.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
div.innerText = str;
2626
body.appendChild(div);
2727
}else{
28-
window._$blanket_LCOV = str;
28+
window._$blanket_LCOV = (window._$blanket_LCOV || '') + str;
2929
}
3030
};
3131

@@ -39,4 +39,4 @@
3939
appendHtml(filename,data,toHTML);
4040
}
4141
};
42-
})();
42+
})();

0 commit comments

Comments
 (0)