(output: string | Buffer | null | undefined)
| 65 | } |
| 66 | |
| 67 | function readProcessOutput(output: string | Buffer | null | undefined): string { |
| 68 | return typeof output === 'string' ? output : (output?.toString('utf8') ?? ''); |
| 69 | } |
| 70 | |
| 71 | export function assertCliSnapshotProcessResult( |
| 72 | result: Pick<ReturnType<typeof spawnSync>, 'error' | 'signal' | 'status' | 'stderr'>, |
no outgoing calls
no test coverage detected