(columns: string[])
| 638 | } |
| 639 | |
| 640 | const displayTableHeader = (columns: string[]): void => { |
| 641 | const headerRow = [ |
| 642 | columns[0].padEnd(4), |
| 643 | columns[1].padEnd(20), |
| 644 | columns[2].padEnd(15), |
| 645 | ...columns.slice(3) |
| 646 | ].join(" | ") |
| 647 | const separatorRow = [ |
| 648 | "-".repeat(4), |
| 649 | "-".repeat(20), |
| 650 | "-".repeat(15), |
| 651 | ...columns.slice(3).map(col => "-".repeat(col.length)) |
| 652 | ].join("-|-") |
| 653 | outputCapture.write(headerRow) |
| 654 | outputCapture.write(separatorRow) |
| 655 | } |
| 656 | |
| 657 | const displayGroupedSummary = (functions: FunctionStats[]): void => { |
| 658 | displayTableHeader([ |
no test coverage detected
searching dependent graphs…