()
| 367 | _verdictTimerId = setInterval(tickAwaitingTimer, 250); |
| 368 | } |
| 369 | function tickAwaitingTimer() { |
| 370 | const remaining = Math.max(0, Math.ceil((_verdictDeadline - performance.now()) / 1000)); |
| 371 | $awaitingTimer.textContent = `auto-skip in ${remaining}s`; |
| 372 | if (remaining === 0) { |
| 373 | // Time's up — auto-skip so the runner doesn't hang. |
| 374 | resolveVerdict({ verdict: "skip", reason: "timed out waiting for verdict" }); |
| 375 | } |
| 376 | } |
| 377 | function hideAwaiting() { |
| 378 | $awaitingWrap.style.display = "none"; |
| 379 | $awaitingLabel.innerHTML = ""; |
no test coverage detected