(count = 5)
| 36 | // Options |
| 37 | // ---------------------------------------- |
| 38 | const getOptions = (count = 5) => |
| 39 | _.times(count, (i) => { |
| 40 | const text = [i, ..._.times(3, faker.hacker.noun)].join(' ') |
| 41 | const value = _.snakeCase(text) |
| 42 | return { text, value } |
| 43 | }) |
| 44 | |
| 45 | // ------------------------------- |
| 46 | // Common Assertions |
no outgoing calls
no test coverage detected
searching dependent graphs…