(value: unknown, limit = 200)
| 151 | } |
| 152 | |
| 153 | export function compactPrCloseCoverageProofText(value: unknown, limit = 200): string { |
| 154 | if (typeof value !== "string") return ""; |
| 155 | return truncateText(value.replace(/\s+/g, " ").trim(), limit); |
| 156 | } |
| 157 | |
| 158 | export function compactPrCloseCoverageProofComment(value: unknown): unknown { |
| 159 | const comment = requireRecord(value, "comment"); |
no test coverage detected