MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / logLine

Function logLine

example/tests/gm_download_test.js:287–292  ·  view source on GitHub ↗
(html, cls = "")

Source from the content-addressed store, hash-verified

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 };

Callers 6

passFunction · 0.70
failFunction · 0.70
skipFunction · 0.70
runOneFunction · 0.70
runAutoFunction · 0.70

Calls 1

hFunction · 0.70

Tested by

no test coverage detected