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

wdio-teamcity-reporter

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wdio-teamcity-reporter - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

yarn.lock

27

index.js
'use strict';
var _require = require('events');
var _require = require('events'),
EventEmitter = _require.EventEmitter;
var EventEmitter = _require.EventEmitter;
var _require2 = require('./lib/message'),
buildFormatter = _require2.buildFormatter,
events = _require2.events;
var _require2 = require('./lib/message');
var _require3 = require('lodash'),
flow = _require3.flow;
var buildFormatter = _require2.buildFormatter;
var events = _require2.events;
var _require4 = require('util'),
inherits = _require4.inherits;
var _require3 = require('lodash');
var flow = _require3.flow;
var _require4 = require('util');
var inherits = _require4.inherits;
module.exports = WdioTeamcityReporter;

@@ -34,4 +29,6 @@ module.exports.reporterName = 'teamcity';

function WdioTeamcityReporter(baseReporter, wdioConf) {
var reporterOptions = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2];
var reporterOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
this.baseReporter = baseReporter;
var opts = {

@@ -38,0 +35,0 @@ captureStandardOutput: typeof reporterOptions.captureStandardOutput === 'boolean' ? reporterOptions.captureStandardOutput : false,

@@ -19,28 +19,27 @@ 'use strict';

var _require = require('lodash');
var _require = require('lodash'),
camelCase = _require.camelCase,
get = _require.get,
invoke = _require.invoke;
var camelCase = _require.camelCase;
var get = _require.get;
var invoke = _require.invoke;
var paths = {
browser: function browser(_ref) {
var cid = _ref.cid;
return ['runner', cid, 'browserName'];
var suite = _ref.suite;
return ['suite', 'runner', suite.cid, 'browserName'];
},
details: function details() {
return 'err.stack';
return 'suite.err.stack';
},
flowId: function flowId() {
return 'specHash';
flowId: function flowId(_ref2) {
var suite = _ref2.suite;
return ['reporter', 'baseReporter', 'stats', 'runners', suite.cid, 'sessionID'];
},
hash: function hash() {
return 'specHash';
return 'suite.specHash';
},
message: function message() {
return 'err.message';
return 'suite.err.message';
},
title: function title() {
return 'title';
return 'suite.title';
}

@@ -78,4 +77,6 @@ };

var reporter = this;
return pattern.replace(/\[([a-z]+)\]/gi, function (m, g) {
return formatProp(g, suite);
return formatProp(g, { suite: suite, reporter: reporter });
});

@@ -82,0 +83,0 @@ }

{
"name": "wdio-teamcity-reporter",
"version": "1.1.0",
"version": "1.1.1",
"description": "WebdriverIO Teamcity reporter",

@@ -5,0 +5,0 @@ "main": "index.js",

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