MCPcopy Create free account
hub / github.com/adobe/react-spectrum / renderListbox

Function renderListbox

packages/react-aria-components/test/ListBox.test.js:69–70  ·  view source on GitHub ↗
(listBoxProps, itemProps)

Source from the content-addressed store, hash-verified

67};
68
69let renderListbox = (listBoxProps, itemProps) =>
70 render(<TestListBox {...{listBoxProps, itemProps}} />);
71let keyPress = key => {
72 fireEvent.keyDown(document.activeElement, {key});
73 fireEvent.keyUp(document.activeElement, {key});

Callers 1

ListBox.test.jsFile · 0.85

Calls 1

renderFunction · 0.50

Tested by

no test coverage detected