mocha-lcov-reporter
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -19,5 +19,5 @@ | ||
runner.on('end', function(){ | ||
// In a browser context, coverage will be in window.$jscoverage. | ||
// In a browser context, coverage will be in window.$jscoverage or window._$blanket. | ||
var g = typeof(global) != 'undefined' ? global : window; | ||
var cov = g._$jscoverage || {}; | ||
var cov = g._$jscoverage || g._$blanket || {}; | ||
@@ -24,0 +24,0 @@ for (var filename in cov) { |
{ | ||
"name": "mocha-lcov-reporter", | ||
"description": "LCOV reporter for Mocha", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"author": "Steven Looman <steven.looman@gmail.com>", | ||
@@ -6,0 +6,0 @@ "keywords": [ "mocha", "reporter", "lcov", "coverage" ], |
@@ -65,2 +65,7 @@ mocha-lcov-reporter | ||
Blanket support | ||
=============== | ||
[Blanket.js](http://blanketjs.org/) can be used as well. After the lcov file, be sure to fix the paths for the covered files. The path will be an URL, having `file:` as its protocol. Using the same manner as above, the path can be fixed using `sed`. | ||
Example output | ||
@@ -67,0 +72,0 @@ ============== |
7107
108