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

Function pass

example/tests/gm_xhr_test.js:393–397  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

391 // ---------- Assertion & request helpers ----------
392 const state = { pass: 0, fail: 0, skip: 0 };
393 function pass(msg) {
394 state.pass++;
395 setCounts(state.pass, state.fail, state.skip);
396 logLine(`✅ ${escapeHtml(msg)}`);
397 }
398 function fail(msg, extra) {
399 state.fail++;
400 setCounts(state.pass, state.fail, state.skip);

Callers 1

runAllFunction · 0.70

Calls 3

setCountsFunction · 0.70
logLineFunction · 0.70
escapeHtmlFunction · 0.70

Tested by

no test coverage detected