(options: any[])
| 21 | } |
| 22 | |
| 23 | export function randomPick(options: any[]): any { |
| 24 | return options[Math.floor(Math.random() * options.length)]; |
| 25 | } |
| 26 | |
| 27 | export function makeData(count: number, factory: object | (() => any)): any[] { |
| 28 | return Array.from({ length: count }, () => { |
no outgoing calls
no test coverage detected