@bigbinary/neeto-playwright-reporter 1.3.17 → 1.3.18
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 +3 -1
- package/index.cjs.js.map +1 -1
- package/index.d.ts +2 -0
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -18687,7 +18687,7 @@ class MyReporter {
|
|
|
18687
18687
|
consoleLogFormatted.dim(MESSAGES.onBegin.currentShard(shard.current));
|
|
18688
18688
|
}
|
|
18689
18689
|
await sendHeartBeatSignal(this.ciBuildId);
|
|
18690
|
-
setInterval(async () => await sendHeartBeatSignal(this.ciBuildId),
|
|
18690
|
+
this.heartbeatInterval = setInterval(async () => await sendHeartBeatSignal(this.ciBuildId), 45000);
|
|
18691
18691
|
this.attempts = attempts;
|
|
18692
18692
|
};
|
|
18693
18693
|
this.onTestBegin = async ({ id, title }, { retry }) => {
|
|
@@ -18794,6 +18794,7 @@ class MyReporter {
|
|
|
18794
18794
|
}
|
|
18795
18795
|
finally {
|
|
18796
18796
|
consoleLogFormatted.invertBackground(MESSAGES.onEnd.runReported);
|
|
18797
|
+
clearInterval(this.heartbeatInterval);
|
|
18797
18798
|
}
|
|
18798
18799
|
};
|
|
18799
18800
|
initializeAxios(options);
|
|
@@ -18806,6 +18807,7 @@ class MyReporter {
|
|
|
18806
18807
|
this.unreportedAttemptCount = 0;
|
|
18807
18808
|
this.hasRunStarted = false;
|
|
18808
18809
|
this.testAttemptIds = [];
|
|
18810
|
+
this.heartbeatInterval = null;
|
|
18809
18811
|
process.on("unhandledRejection", async (error) => {
|
|
18810
18812
|
var _a, _b, _c;
|
|
18811
18813
|
const data = (_a = error.response) === null || _a === void 0 ? void 0 : _a.data;
|