@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.cjs.js
CHANGED
|
@@ -18733,6 +18733,10 @@ class MyReporter {
|
|
|
18733
18733
|
this.testResultCalls = [];
|
|
18734
18734
|
this.totalTestCount = 0;
|
|
18735
18735
|
this.reportedTestCount = 0;
|
|
18736
|
+
process.on("unhandledRejection", error => {
|
|
18737
|
+
var _a;
|
|
18738
|
+
consoleLogFormatted.error((_a = error === null || error === void 0 ? void 0 : error.message) !== null && _a !== void 0 ? _a : JSON.stringify(error));
|
|
18739
|
+
});
|
|
18736
18740
|
}
|
|
18737
18741
|
}
|
|
18738
18742
|
|