(originalCount: number, totalRows: number)
| 15 | type Stats = typeof stats; |
| 16 | |
| 17 | function scaleUniqueCount(originalCount: number, totalRows: number): number { |
| 18 | return Math.max(1, Math.round((originalCount * TOTAL_RECORDS) / totalRows)); |
| 19 | } |
| 20 | |
| 21 | function randomString(avgLen: number, minLen: number, maxLen: number): string { |
| 22 | const len = Math.max( |
no outgoing calls
no test coverage detected