Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

testcafe-reporter-minimal

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testcafe-reporter-minimal - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

18

lib/index.js

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc