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

Function Test

packages/react-aria/test/focus/FocusScopeOwnerDocument.test.js:310–320  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

308 describe('focus manager', function () {
309 it('should move focus forward', async function () {
310 function Test() {
311 return (
312 <IframeExample>
313 <FocusScope>
314 <Item data-testid="item1" />
315 <Item data-testid="item2" />
316 <Item data-testid="item3" />
317 </FocusScope>
318 </IframeExample>
319 );
320 }
321
322 function Item(props) {
323 let focusManager = useFocusManager();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected