(maxBytes: number)
| 406 | } |
| 407 | |
| 408 | function getParsedOutputTooLargeMessage(maxBytes: number): string { |
| 409 | return `Parsed file output is too large to return safely. Maximum parsed output is ${prettySize( |
| 410 | maxBytes |
| 411 | )}.` |
| 412 | } |
| 413 | |
| 414 | function assertParsedContentWithinLimit(content: string, maxBytes?: number): string { |
| 415 | if (maxBytes !== undefined) { |
no test coverage detected