wdio-teamcity-reporter
Advanced tools
Comparing version 1.0.2-beta.2 to 1.0.2
12
index.js
@@ -51,4 +51,14 @@ 'use strict'; | ||
events.forEach(function (event) { | ||
return _this.on(event, flow(buildFormatter(event, opts), console.log)); | ||
return _this.on(event, flow(buildFormatter(event, opts), output)); | ||
}); | ||
}; | ||
/** | ||
* @param {string} msg | ||
* @return {string} | ||
*/ | ||
function output(msg) { | ||
if (msg) { | ||
console.log(msg); | ||
} | ||
} |
@@ -59,2 +59,6 @@ 'use strict'; | ||
function formatter(suite) { | ||
if (suite.pending && eventName !== 'test:pending') { | ||
return ''; | ||
} | ||
return pattern.replace(/\[([a-z]+)\]/gi, function (m, g) { | ||
@@ -61,0 +65,0 @@ return formatProp(g, suite); |
{ | ||
"name": "wdio-teamcity-reporter", | ||
"version": "1.0.2-beta.2", | ||
"version": "1.0.2", | ||
"description": "WebdriverIO Teamcity reporter", | ||
@@ -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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
8424
156
0