(total: number | null, nAttempts: number | null)
| 31 | } |
| 32 | |
| 33 | function averagePerAttempt(total: number | null, nAttempts: number | null): number | null { |
| 34 | return total === null || nAttempts === null || nAttempts <= 0 ? null : total / nAttempts; |
| 35 | } |
| 36 | |
| 37 | type BenchDashboard = { |
| 38 | listPromotions(opts?: { sinceMs?: number; limit?: number }): Promise<PromotionRecord[]>; |
no outgoing calls
no test coverage detected