(output: unknown)
| 217 | * Normalizes terminal output data before it is stored. |
| 218 | */ |
| 219 | export function normalizeConsoleOutput(output: unknown): NormalizedBlockOutput | undefined { |
| 220 | if (output === undefined) { |
| 221 | return undefined |
| 222 | } |
| 223 | |
| 224 | return capNormalizedValue(normalizeConsoleValue(output)) as NormalizedBlockOutput |
| 225 | } |
| 226 | |
| 227 | /** |
| 228 | * Normalizes terminal error data before it is stored. |
no test coverage detected