(html, cls = "")
| 285 | }); |
| 286 | |
| 287 | function logLine(html, cls = "") { |
| 288 | const line = h("div", { style: { padding: "6px 0", borderBottom: "1px dashed #2a2a2a" } }); |
| 289 | line.innerHTML = html; |
| 290 | if (cls) line.className = cls; |
| 291 | $log.prepend(line); |
| 292 | } |
| 293 | |
| 294 | // ---------- Counters & status ---------- |
| 295 | const state = { pass: 0, fail: 0, skip: 0 }; |