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

Function kinds

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

Source from the content-addressed store, hash-verified

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

Callers 1

extraction.test.tsFile · 0.70

Calls 1

mapMethod · 0.80

Tested by

no test coverage detected