Sha256: 422aeb5be8dcec1ea36f0a034c7acc63c3b3f7c129963a78d1b5c56d7fd9a218
Contents?: true
Size: 601 Bytes
Versions: 23
Compression:
Stored size: 601 Bytes
Contents
!function(){window.getCoverageByLine=function(e){var n=null,o=null;if("object"==typeof window._$jscoverage){for(n in _$jscoverage);o=_$jscoverage[n]}return o||e||console.log("code coverage data is NOT available"),{key:n,lines:o}},QUnit.done=function(){var e=getCoverageByLine(!0);if(e.key){var n=0,o=0,t=0;for(lineIdx in e.lines){var i=e.lines[lineIdx];"number"==typeof i?(n+=1,i>0&&(o+=1)):t+=1}var l=""+Math.floor(100*o/n)+"%",r=document.getElementById("qunit-testresult");null!=r?r.innerHTML=r.innerHTML+" "+l+" test coverage of "+e.key:console.log("can't find test-result element to update")}}}();
Version data entries
23 entries across 23 versions & 1 rubygems