MCPcopy Create free account
hub / github.com/backnotprop/plannotator / loc

Function loc

packages/shared/code-nav.test.ts:183–193  ·  view source on GitHub ↗
(overrides: Partial<CodeNavLocation>)

Source from the content-addressed store, hash-verified

181
182describe("rankLocations", () => {
183 function loc(overrides: Partial<CodeNavLocation>): CodeNavLocation {
184 return {
185 kind: "reference",
186 confidence: "possible",
187 filePath: "src/other.ts",
188 line: 1,
189 column: 0,
190 snippet: "some code",
191 ...overrides,
192 };
193 }
194
195 test("same file ranks first", () => {
196 const locations = [

Callers 1

code-nav.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected