({
fileCount = DEFAULT_FILE_COUNT,
linesPerFile = DEFAULT_LINES_PER_FILE,
changedStartLine,
changedEndLine,
contentVariant,
}: LargeSplitStreamFixtureOptions = {})
| 106 | } |
| 107 | |
| 108 | export function createLargeSplitStreamFiles({ |
| 109 | fileCount = DEFAULT_FILE_COUNT, |
| 110 | linesPerFile = DEFAULT_LINES_PER_FILE, |
| 111 | changedStartLine, |
| 112 | changedEndLine, |
| 113 | contentVariant, |
| 114 | }: LargeSplitStreamFixtureOptions = {}) { |
| 115 | return Array.from({ length: fileCount }, (_, index) => |
| 116 | createLargeSplitDiffFile(index + 1, { |
| 117 | linesPerFile, |
| 118 | changedStartLine, |
| 119 | changedEndLine, |
| 120 | contentVariant, |
| 121 | }), |
| 122 | ); |
| 123 | } |
| 124 | |
| 125 | export function createLargeSplitStreamBootstrap({ |
| 126 | fileCount = DEFAULT_FILE_COUNT, |
no test coverage detected