MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / tapCount

Function tapCount

graph-ui/tools/release-gate.mjs:709–712  ·  view source on GitHub ↗
(label)

Source from the content-addressed store, hash-verified

707 const suite = await run('npm', ['run', 'test']);
708 const fullSuitePass = suite.code === 0;
709 const tapCount = (label) => Number(
710 new RegExp(`^(?:#\\s*|ℹ\\s*)${label}\\s+(\\d+)\\s*$`, 'mi')
711 .exec(suite.out)?.[1] ?? Number.NaN,
712 );
713 const scaffoldTests = tapCount('tests');
714 const scaffoldPassCount = tapCount('pass');
715 const scaffoldFail = tapCount('fail');

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected