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

Function assert

test/e2e.ts:31–39  ·  view source on GitHub ↗
(condition: boolean, msg: string)

Source from the content-addressed store, hash-verified

29let failed = 0;
30
31function assert(condition: boolean, msg: string) {
32 if (condition) {
33 console.log(` ✓ ${msg}`);
34 passed++;
35 } else {
36 console.error(` ✗ FAIL: ${msg}`);
37 failed++;
38 }
39}
40
41// ─── Part 1: Rule-Based Classifier ───
42

Callers 2

e2e.tsFile · 0.70
testRouteFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected