MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / createMockTree

Function createMockTree

common/src/testing/mocks/tree-sitter.ts:51–55  ·  view source on GitHub ↗
(rootNodeText: string = 'mock tree')

Source from the content-addressed store, hash-verified

49}
50
51export function createMockTree(rootNodeText: string = 'mock tree'): MockTree {
52 return {
53 rootNode: { text: rootNodeText },
54 }
55}
56
57export function createMockTreeSitterParser(
58 options: CreateMockParserOptions = {},

Callers 2

parse.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected