@bigbinary/neeto-playwright-reporter 1.3.2 → 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.cjs.js +4 -0
- package/index.cjs.js.map +1 -1
- package/index.js +4 -0
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -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
|
|