testcafe-reporter-minimal
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -17,3 +17,11 @@ 'use strict'; | ||
reportTaskStart: function reportTaskStart(startTime, userAgents, testCount) { | ||
var _this = this; | ||
var uaList = userAgents.map(function (ua) { | ||
return _this.chalk.blue(ua); | ||
}).join(', '); | ||
this.testCount = testCount; | ||
this.setIndent(0).useWordWrap(true).write(this.chalk.bold('Running tests in: ' + uaList)).newline().newline(); | ||
}, | ||
@@ -26,3 +34,3 @@ | ||
reportTestDone: function reportTestDone(name, errs) { | ||
var _this = this; | ||
var _this2 = this; | ||
@@ -44,3 +52,3 @@ var hasErr = !!errs.length; | ||
testName: name, | ||
fixtureName: _this.currentFixtureName | ||
fixtureName: _this2.currentFixtureName | ||
}; | ||
@@ -52,3 +60,3 @@ })); | ||
reportTaskDone: function reportTaskDone(endTime, passed) { | ||
var _this2 = this; | ||
var _this3 = this; | ||
@@ -63,5 +71,5 @@ var allPassed = !this.errDescriptors.length; | ||
var prefix = idx + 1 + ') '; | ||
var title = _this2.chalk.bold.red('' + prefix + errDescriptor.fixtureName + ' - ' + errDescriptor.testName); | ||
var title = _this3.chalk.bold.red('' + prefix + errDescriptor.fixtureName + ' - ' + errDescriptor.testName); | ||
_this2.setIndent(2).useWordWrap(true).newline().write(title).newline().setIndent(2 + prefix.length).write(_this2.formatError(errDescriptor.err)).newline().newline(); | ||
_this3.setIndent(2).useWordWrap(true).newline().write(title).newline().setIndent(2 + prefix.length).write(_this3.formatError(errDescriptor.err)).newline().newline(); | ||
}); | ||
@@ -68,0 +76,0 @@ } |
{ | ||
"name": "testcafe-reporter-minimal", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Minimal TestCafe reporter plugin.", | ||
@@ -15,3 +15,5 @@ "repository": "https://github.com/DevExpress/testcafe-reporter-minimal", | ||
"scripts": { | ||
"test": "gulp test" | ||
"test": "gulp test", | ||
"publish-please": "publish-please", | ||
"prepublish": "publish-please guard" | ||
}, | ||
@@ -27,2 +29,3 @@ "keywords": [ | ||
"babel-eslint": "^4.0.10", | ||
"callsite-record": "^3.2.0", | ||
"del": "^1.2.0", | ||
@@ -35,6 +38,6 @@ "gulp": "^3.9.0", | ||
"os-family": "^1.0.0", | ||
"publish-please": "^1.0.1", | ||
"publish-please": "^2.1.4", | ||
"read-file-relative": "^1.2.0", | ||
"testcafe": "0.0.15" | ||
"testcafe": "0.0.21" | ||
} | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
5530
57
0
12