(response: Response, label: string)
| 37 | export const maxDuration = 5400 |
| 38 | |
| 39 | async function readVideoResponseBuffer(response: Response, label: string): Promise<Buffer> { |
| 40 | return readResponseToBufferWithLimit(response, { |
| 41 | maxBytes: MAX_VIDEO_OUTPUT_BYTES, |
| 42 | label, |
| 43 | }) |
| 44 | } |
| 45 | |
| 46 | async function readVideoJson<T = Record<string, unknown>>( |
| 47 | response: Response, |
no test coverage detected