MCPcopy Create free account
hub / github.com/SethGammon/Citadel / check

Function check

scripts/test-doc-surfaces.js:33–40  ·  view source on GitHub ↗
(label, ok, detail)

Source from the content-addressed store, hash-verified

31let failures = 0;
32
33function check(label, ok, detail) {
34 if (ok) {
35 console.log(`PASS ${label}`);
36 } else {
37 failures += 1;
38 console.error(`FAIL ${label}${detail ? `: ${detail}` : ''}`);
39 }
40}
41
42// Independent recounts: deliberately not calling generator internals.
43function recountSkills() {

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected