(columnCount: number, rowCount: number)
| 29 | } |
| 30 | |
| 31 | function createTableBody(columnCount: number, rowCount: number) { |
| 32 | const bodyRows = []; |
| 33 | |
| 34 | for (let i = 0; i < rowCount; i += 1) { |
| 35 | bodyRows.push(createTableRow(columnCount)); |
| 36 | } |
| 37 | |
| 38 | return bodyRows; |
| 39 | } |
| 40 | |
| 41 | function createTableRow(columnCount: number, delim?: boolean) { |
| 42 | let row = '|'; |
no test coverage detected