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

Function def

__tests__/node-overload-spread.test.ts:131–132  ·  view source on GitHub ↗
(filePath: string, language: string, startLine = 1)

Source from the content-addressed store, hash-verified

129
130describe('definitionCapOrder / describeOmittedDefinitions (#1657)', () => {
131 const def = (filePath: string, language: string, startLine = 1): Node =>
132 ({ id: `${filePath}:${startLine}`, name: 'num', kind: 'function', filePath, language, startLine } as unknown as Node);
133
134 it('puts each language first, then each top-level folder, then the rest in order', () => {
135 const nodes = [

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected