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

Function renderListbox

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

Source from the content-addressed store, hash-verified

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

Callers 1

ListBox.test.jsFile · 0.85

Calls 1

renderFunction · 0.50

Tested by

no test coverage detected