MCPcopy Index your code
hub / github.com/modem-dev/hunk / buildNotes

Function buildNotes

src/ui/diff/diffSectionGeometry.test.ts:125–134  ·  view source on GitHub ↗
(summary: string)

Source from the content-addressed store, hash-verified

123 test("reuses note-aware geometry across equivalent note arrays", () => {
124 const file = createTestDiffFile();
125 const buildNotes = (summary: string): VisibleAgentNote[] => [
126 {
127 id: "annotation:example:0",
128 annotation: {
129 newRange: [1, 1],
130 rationale: "Keep note height in section geometry.",
131 summary,
132 },
133 },
134 ];
135
136 const first = measureDiffSectionGeometry(
137 file,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected