@wdio/reporter
Advanced tools
Comparing version 6.1.9 to 6.1.14
@@ -12,4 +12,2 @@ "use strict"; | ||
var _util = require("util"); | ||
var _events = _interopRequireDefault(require("events")); | ||
@@ -27,4 +25,2 @@ | ||
var _constants = require("./constants"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -107,9 +103,2 @@ | ||
const testStat = this.tests[test.uid]; | ||
if (test.error && test.error.message && test.error.message.includes(_constants.MOCHA_TIMEOUT_MESSAGE)) { | ||
let replacement = (0, _util.format)(_constants.MOCHA_TIMEOUT_MESSAGE_REPLACEMENT, test.parent, test.title); | ||
test.error.message = test.error.message.replace(_constants.MOCHA_TIMEOUT_MESSAGE, replacement); | ||
test.error.stack = test.error.stack.replace(_constants.MOCHA_TIMEOUT_MESSAGE, replacement); | ||
} | ||
testStat.fail((0, _utils.getErrorsFromEvent)(test)); | ||
@@ -116,0 +105,0 @@ this.counts.failures++; |
{ | ||
"name": "@wdio/reporter", | ||
"version": "6.1.9", | ||
"version": "6.1.14", | ||
"description": "A WebdriverIO utility to help reporting all events", | ||
@@ -42,3 +42,3 @@ "author": "Christian Bromann <christian@saucelabs.com>", | ||
"types": "reporter.d.ts", | ||
"gitHead": "21539bb965e87df2df5ae4971cc7ce826a538582" | ||
"gitHead": "1db0b8de0f2efd9e63bf76b01fe01f7e9985f03f" | ||
} |
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
23349
10
399