MCPcopy Index your code
hub / github.com/BlockRunAI/ClawRouter / assert

Function assert

test/compression.ts:86–94  ·  view source on GitHub ↗
(condition: boolean, msg: string)

Source from the content-addressed store, hash-verified

84 let failed = 0;
85
86 function assert(condition: boolean, msg: string) {
87 if (condition) {
88 console.log(` ✓ ${msg}`);
89 passed++;
90 } else {
91 console.error(` ✗ FAIL: ${msg}`);
92 failed++;
93 }
94 }
95
96 // Start mock BlockRun API
97 const mockApi = await startMockServer();

Callers 1

runTestsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected