MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / helper-extract.test.ts

File helper-extract.test.ts

test/helper-extract.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, expect } from 'vitest';
2import { normalizeBody, codeTokens, findSimilarHelpers, formatHelperClusters, proposeParameterizedHelper, formatParamProposal, type FunctionUnit } from '../src/codegraph/helper-extract.ts';
3
4// Two helpers copy-pasted then tweaked: different name, different constant — NEAR, not exact.

Callers

nothing calls this directly

Calls 7

normalizeBodyFunction · 0.90
codeTokensFunction · 0.90
findSimilarHelpersFunction · 0.90
formatHelperClustersFunction · 0.90
formatParamProposalFunction · 0.90
checkFunction · 0.70

Tested by

no test coverage detected