(stdout: string)
| 1 | // removes all color codes from the output for snapshot readability |
| 2 | export function removeColorCodes(stdout: string) { |
| 3 | // eslint-disable-next-line no-control-regex |
| 4 | return stdout.replace(/\u001B\[\d+m/g, ''); |
| 5 | } |
no outgoing calls
no test coverage detected