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

Function Test

packages/react-aria/test/focus/FocusScope.test.js:1042–1050  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1040 describe('focus manager', function () {
1041 it('should move focus forward', async function () {
1042 function Test() {
1043 return (
1044 <FocusScope>
1045 <Item data-testid="item1" />
1046 <Item data-testid="item2" />
1047 <Item data-testid="item3" />
1048 </FocusScope>
1049 );
1050 }
1051
1052 function Item(props) {
1053 let focusManager = useFocusManager();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected