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

testcafe-reporter-json

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testcafe-reporter-json - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

19

lib/index.js

@@ -18,3 +18,4 @@ "use strict";

total: 0,
fixtures: []
fixtures: [],
warnings: []
},

@@ -33,15 +34,23 @@

reportTestDone: function reportTestDone(name, errs, durationMs, unstable, screenshotPath) {
reportTestDone: function reportTestDone(name, testRunInfo) {
var _this = this;
errs = errs.map(function (err) {
var errs = testRunInfo.errs.map(function (err) {
return _this.formatError(err);
});
this.currentFixture.tests.push({ name: name, errs: errs, durationMs: durationMs, unstable: unstable, screenshotPath: screenshotPath });
this.currentFixture.tests.push({
name: name,
errs: errs,
durationMs: testRunInfo.durationMs,
unstable: testRunInfo.unstable,
screenshotPath: testRunInfo.screenshotPath
});
},
reportTaskDone: function reportTaskDone(endTime, passed) {
reportTaskDone: function reportTaskDone(endTime, passed, warnings) {
this.report.passed = passed;
this.report.endTime = endTime;
this.report.warnings = warnings;

@@ -48,0 +57,0 @@ this.write(JSON.stringify(this.report, null, 2));

{
"name": "testcafe-reporter-json",
"version": "1.0.0",
"version": "2.0.0",
"description": "JSON TestCafe reporter plugin.",

@@ -15,3 +15,5 @@ "repository": "https://github.com/DevExpress/testcafe-reporter-json",

"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",

@@ -34,6 +37,6 @@ "gulp": "^3.9.0",

"normalize-newline": "^1.0.2",
"publish-please": "^1.0.1",
"publish-please": "^2.1.4",
"read-file-relative": "^1.2.0",
"testcafe": "0.0.6-alpha"
"testcafe": "0.2.0-alpha"
}
}
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