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

Function fail

example/tests/gm_download_test.js:305–311  ·  view source on GitHub ↗
(msg, extra)

Source from the content-addressed store, hash-verified

303 }
304 function pass(msg) { state.pass++; setCounts(); logLine(`✅ ${escapeHtml(msg)}`); }
305 function fail(msg, extra) {
306 state.fail++; setCounts();
307 logLine(
308 `❌ ${escapeHtml(msg)}${extra ? `<pre style="white-space:pre-wrap;color:#bbb;margin:.5em 0 0">${escapeHtml(extra)}</pre>` : ""}`,
309 "fail"
310 );
311 }
312 function skip(msg) { state.skip++; setCounts(); logLine(`⏭️ ${escapeHtml(msg)}`); }
313
314 function showProgress(label) {

Callers 1

runOneFunction · 0.70

Calls 3

setCountsFunction · 0.70
logLineFunction · 0.70
escapeHtmlFunction · 0.70

Tested by

no test coverage detected