(filePath: string, size: number)
| 145 | } |
| 146 | |
| 147 | export function infoMessage(filePath: string, size: number) { |
| 148 | return `File ${path.basename(filePath)} is OK. (size: ${formatBytes(size)})`; |
| 149 | } |
| 150 | |
| 151 | export function errorMessage(filePath: string, size: number, budget: number) { |
| 152 | const sizeDifference = formatBytes(size - budget); |
no test coverage detected