(
draft: HttpRequestDraft,
format: HttpRequestPreviewFormat,
options: HttpRequestPreviewOptions = {},
)
| 285 | } |
| 286 | |
| 287 | export function buildRequestPreview( |
| 288 | draft: HttpRequestDraft, |
| 289 | format: HttpRequestPreviewFormat, |
| 290 | options: HttpRequestPreviewOptions = {}, |
| 291 | ): string { |
| 292 | return format === 'http' |
| 293 | ? buildHttpPreview(draft, options) |
| 294 | : buildCurlPreview(draft, options) |
| 295 | } |
nothing calls this directly
no test coverage detected