Commit 3f4dc584 by lxyang

feat:去除多余console

parent 736a46fa
......@@ -457,7 +457,6 @@ Report.mix(HtmlReport, {
IS_HTML_CSS = fileCoverage.IS_HTML_CSS !== undefined || fileCoverage.IS_HTML_CSS !== null ? fileCoverage.IS_HTML_CSS : true,
{code, startIndex = 0} = jsChange({code: sourceText.split(/(?:\r?\n)|\r/), isHtmlVue, IS_HTML_CSS}),
count = 0
console.log(IS_HTML_CSS, 'IS_HTML_CSS')
fileCoverage.startIndex = startIndex
var structured = code.map(function (str) { count += 1; return { line: count, covered: null, text: new InsertionText(str, true) }; }),
context;
......
{
"name": "ry-istanbul-web",
"version": "0.0.4",
"version": "0.0.5",
"description": "Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale",
"keywords": [
"coverage",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment