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