MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / kinds

Function kinds

__tests__/extraction.test.ts:12355–12355  ·  view source on GitHub ↗
(kind: string)

Source from the content-addressed store, hash-verified

12353 it('should extract classes, modules, interfaces, structures, and enums', () => {
12354 const result = extractFromSource('Invoice.vb', SAMPLE);
12355 const kinds = (kind: string) => result.nodes.filter((n) => n.kind === kind).map((n) => n.name);
12356 expect(kinds('class')).toEqual(expect.arrayContaining(['EntityBase', 'Invoice', 'Helpers']));
12357 expect(kinds('interface')).toContain('IRepository');
12358 expect(kinds('struct')).toContain('Money');

Callers 1

extraction.test.tsFile · 0.70

Calls 1

mapMethod · 0.80

Tested by

no test coverage detected