MCPcopy
hub / github.com/BlockRunAI/ClawRouter / assert

Function assert

test/fallback.ts:137–145  ·  view source on GitHub ↗
(condition: boolean, msg: string)

Source from the content-addressed store, hash-verified

135 let failed = 0;
136
137 function assert(condition: boolean, msg: string) {
138 if (condition) {
139 console.log(` ✓ ${msg}`);
140 passed++;
141 } else {
142 console.error(` ✗ FAIL: ${msg}`);
143 failed++;
144 }
145 }
146
147 // Start mock BlockRun API
148 const mockApi = await startMockServer();

Callers 1

runTestsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected