MCPcopy Create free account
hub / github.com/continuedev/continue / mockDiffLineGenerator

Function mockDiffLineGenerator

core/edit/streamDiffLines.test.ts:7–11  ·  view source on GitHub ↗
(lines: DiffLine[])

Source from the content-addressed store, hash-verified

5
6describe("addIndentation", () => {
7 async function* mockDiffLineGenerator(lines: DiffLine[]) {
8 for (const line of lines) {
9 yield line;
10 }
11 }
12
13 test("should add indentation to each line", async () => {
14 const lines: DiffLine[] = [

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected