MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / buildStringifiedOptions

Function buildStringifiedOptions

console/src/test/utils.tsx:236–239  ·  view source on GitHub ↗
(options: Element[])

Source from the content-addressed store, hash-verified

234}
235
236function buildStringifiedOptions(options: Element[]): string {
237 if (options.length === 0) return "<No options>";
238 return options.map((el) => `'${el.textContent}'`).join(", ");
239}
240
241/**
242 * Select a react-select option.

Callers 1

selectReactSelectOptionFunction · 0.85

Calls 2

joinMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected