(extra: number)
| 248 | ).length |
| 249 | |
| 250 | const largePast = (extra: number) => |
| 251 | Parse.parseFileDiffs( |
| 252 | Fixtures.hunksAnswerOf([ |
| 253 | ['edge.ts', Fixtures.longLineOf(room + extra)], |
| 254 | ['next.ts', Fixtures.oneAddedOf('after it')], |
| 255 | ]), |
| 256 | ['edge.ts', 'next.ts'], |
| 257 | ).get('edge.ts')?.isLarge |
| 258 | |
| 259 | expect(largePast(0)).toBe(false) |
| 260 | expect(largePast(1)).toBe(true) |
no test coverage detected