(printed: readonly Fixtures.PrintedFile[])
| 12 | body?.hunks.flatMap(hunk => hunk.lines) |
| 13 | |
| 14 | const cutAtCap = (printed: readonly Fixtures.PrintedFile[]) => |
| 15 | Fixtures.hunksAnswerOf(printed).slice(0, Limits.HOST_OUTPUT_CAP_BYTES) |
| 16 | |
| 17 | test('an empty answer: every file asked reads no hunks', () => { |
| 18 | expect([...Parse.parseFileDiffs('', ['a.ts', 'b.ts'])]).toEqual([ |
no outgoing calls
no test coverage detected