(lines: number)
| 4 | import '../happydom'; |
| 5 | |
| 6 | function generateColorText(lines: number): string { |
| 7 | const colors = [31, 32, 33, 34, 35, 36]; |
| 8 | let output = ''; |
| 9 | for (let i = 0; i < lines; i++) { |
| 10 | const color = colors[i % colors.length]; |
| 11 | output += `\x1b[${color}mLine ${i}: This is some colored text with ANSI escape sequences\x1b[0m\r\n`; |
| 12 | } |
| 13 | return output; |
| 14 | } |
| 15 | |
| 16 | function generateComplexVT(lines: number): string { |
| 17 | let output = ''; |
no outgoing calls
no test coverage detected
searching dependent graphs…