xunit-file
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -78,3 +78,3 @@ /** | ||
, errors: stats.failures | ||
, skip: stats.tests - stats.failures - stats.passes | ||
, skipped: stats.tests - stats.failures - stats.passes | ||
, timestamp: (new Date).toUTCString() | ||
@@ -110,4 +110,3 @@ , time: stats.duration / 1000 | ||
var err = test.err; | ||
attrs.message = escape(err.message); | ||
appendLine(tag('testcase', attrs, false, tag('failure', attrs, false, cdata(err.stack)))); | ||
appendLine(tag('testcase', attrs, false, tag('failure', { message: escape(err.message) }, false, cdata(err.stack)))); | ||
} else if (test.pending) { | ||
@@ -114,0 +113,0 @@ delete attrs.time; |
{ | ||
"name": "xunit-file", | ||
"description": "Basically the same reporter as mocha's xunit reporter, but writes the output in a file.", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Matthias Jahn", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20924
132