karma-trx-reporter
Advanced tools
Comparing version 0.3.0 to 0.4.0
@@ -8,2 +8,3 @@ var path = require('path'); | ||
var shortTestName = !!config.shortTestName; | ||
var trimTimestamps = !!config.trimTimestamps; | ||
var log = logger.create('reporter.trx'); | ||
@@ -22,3 +23,5 @@ var hostName = require('os').hostname(); | ||
// todo: use local time ? | ||
return (new Date()).toISOString().substr(0, 19); | ||
return trimTimestamps | ||
? new Date().toISOString().substr(0, 19) | ||
: new Date().toISOString(); | ||
}; | ||
@@ -25,0 +28,0 @@ |
{ | ||
"name": "karma-trx-reporter", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "A Karma plugin. Report results in MSTest trx format.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
10336
154