(lines, id)
| 188 | } |
| 189 | |
| 190 | function largeNoteBody(lines, id) { |
| 191 | const blocks = [] |
| 192 | for (let line = 0; line < lines; line += 1) { |
| 193 | const section = line % 40 |
| 194 | blocks.push( |
| 195 | `- Large note ${id} line ${formatIndex(line)} section-${section}: ${'fast editor hydration '.repeat(6)}#large-note #section-${section}` |
| 196 | ) |
| 197 | } |
| 198 | return `\n## Large note stress section\n\n${blocks.join('\n')}\n` |
| 199 | } |
| 200 | |
| 201 | async function writeFilesInBatches(files, batchSize = 96) { |
| 202 | for (let index = 0; index < files.length; index += batchSize) { |
no test coverage detected