@bigbinary/neeto-playwright-reporter 1.3.1 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -15905,7 +15905,7 @@ RedirectableRequest.prototype._processResponse = function (response) {
15905
15905
  redirectUrl.protocol !== "https:" ||
15906
15906
  redirectUrl.host !== currentHost &&
15907
15907
  !isSubdomain(redirectUrl.host, currentHost)) {
15908
- removeMatchingHeaders(/^(?:authorization|cookie)$/i, this._options.headers);
15908
+ removeMatchingHeaders(/^(?:(?:proxy-)?authorization|cookie)$/i, this._options.headers);
15909
15909
  }
15910
15910
 
15911
15911
  // Evaluate the beforeRedirect callback
@@ -18714,6 +18714,10 @@ class MyReporter {
18714
18714
  this.testResultCalls = [];
18715
18715
  this.totalTestCount = 0;
18716
18716
  this.reportedTestCount = 0;
18717
+ process.on("unhandledRejection", error => {
18718
+ var _a;
18719
+ consoleLogFormatted.error((_a = error === null || error === void 0 ? void 0 : error.message) !== null && _a !== void 0 ? _a : JSON.stringify(error));
18720
+ });
18717
18721
  }
18718
18722
  }
18719
18723