jasmine-dom
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -17,3 +17,3 @@ function JunitXmlReporter(opt){ | ||
return this.report; | ||
} | ||
}; | ||
@@ -24,2 +24,5 @@ JunitXmlReporter.prototype.reportSpecResults = function(spec){ | ||
}; | ||
var e = function(s){ | ||
return s.replace(/\</gi, '<').replace(/\>/gi, '>'); | ||
} | ||
@@ -32,2 +35,4 @@ var specName = s(this.currentGroupName) + "." + s(spec.suite.description) + "." + s(spec.description); | ||
var name = result.type + " " + result.matcherName + " " + (result.expected ? result.expected : ""); | ||
name = e(name); | ||
specName = e(specName); | ||
if(result.passed()){ | ||
@@ -34,0 +39,0 @@ this.xml += '<testcase classname="'+specName+'" name="'+name+'" time="'+result.time+'"/>'; |
{ | ||
"name" : "jasmine-dom" | ||
, "version" : "0.2.3" | ||
, "version" : "0.2.4" | ||
@@ -5,0 +5,0 @@ , "description" : "Run your jasmine html SpecRunner in node.js." |
363658
5871