testcafe-reporter-minimal
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -15,2 +15,3 @@ 'use strict'; | ||
testCount: 0, | ||
skipped: 0, | ||
@@ -37,4 +38,10 @@ reportTaskStart: function reportTaskStart(startTime, userAgents, testCount) { | ||
var hasErr = !!testRunInfo.errs.length; | ||
var dot = hasErr ? this.chalk.red('.') : '.'; | ||
var symbol = null; | ||
if (testRunInfo.skipped) { | ||
this.skipped++; | ||
symbol = this.chalk.cyan('-'); | ||
} else if (hasErr) symbol = this.chalk.red('!');else symbol = '.'; | ||
if (this.spaceLeft - 1 < 0) { | ||
@@ -45,3 +52,3 @@ this.spaceLeft = this.viewportWidth - NEW_LINE.length - 1; | ||
this.write(dot); | ||
this.write(symbol); | ||
@@ -89,2 +96,6 @@ if (hasErr) { | ||
if (this.skipped > 0) { | ||
this.write(this.chalk.cyan(this.skipped + ' skipped')).newline(); | ||
} | ||
if (warnings.length) this._renderWarnings(warnings); | ||
@@ -91,0 +102,0 @@ } |
{ | ||
"name": "testcafe-reporter-minimal", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Minimal TestCafe reporter plugin.", | ||
@@ -38,4 +38,4 @@ "repository": "https://github.com/DevExpress/testcafe-reporter-minimal", | ||
"read-file-relative": "^1.2.0", | ||
"testcafe": "0.2.0-alpha" | ||
"testcafe": "0.9.0" | ||
} | ||
} |
@@ -13,3 +13,3 @@ # testcafe-reporter-minimal | ||
``` | ||
npm install -g testcafe-reporter-minimal | ||
npm install testcafe-reporter-minimal | ||
``` | ||
@@ -16,0 +16,0 @@ |
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
6432
74