()
| 1794 | } |
| 1795 | |
| 1796 | function App() { |
| 1797 | let container = React.useRef(null); |
| 1798 | return ( |
| 1799 | <> |
| 1800 | <InfoMenu container={container} /> |
| 1801 | <div ref={container} data-testid="custom-container" /> |
| 1802 | </> |
| 1803 | ); |
| 1804 | } |
| 1805 | |
| 1806 | it('should render the menu in the portal container', async () => { |
| 1807 | let {getByRole, getByTestId} = render(<App />); |
nothing calls this directly
no outgoing calls
no test coverage detected