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

Function useHref

packages/react-aria-components/test/GridList.test.js:1552–1552  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1550 it('should work with RouterProvider', async () => {
1551 let navigate = jest.fn();
1552 let useHref = href => '/base' + href;
1553 let {getAllByRole} = render(
1554 <RouterProvider navigate={navigate} useHref={useHref}>
1555 <GridList aria-label="listview">

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected