MCPcopy
hub / github.com/Semantic-Org/Semantic-UI-React / getOptions

Function getOptions

test/specs/modules/Dropdown/Dropdown-test.js:38–43  ·  view source on GitHub ↗
(count = 5)

Source from the content-addressed store, hash-verified

36// Options
37// ----------------------------------------
38const 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

Callers 1

Dropdown-test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…