MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / syntax-check.test.ts

File syntax-check.test.ts

test/syntax-check.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Tests for src/tools/ast/syntax-check.ts (pre-commit syntax gate).
3 * Run: node --experimental-strip-types test/syntax-check.test.ts
4 * Pure logic only: tree walker (mock nodes), JSON checking, baseline decision,

Callers

nothing calls this directly

Calls 9

findIssuesInTreeFunction · 0.90
checkJsonSyntaxFunction · 0.90
shouldRejectFunction · 0.90
buildSyntaxRejectMessageFunction · 0.90
checkSyntaxForWriteFunction · 0.90
setSyntaxGateEnabledFunction · 0.90
isSyntaxGateEnabledFunction · 0.90
nodeFunction · 0.70
checkFunction · 0.70

Tested by

no test coverage detected