()
| 2322 | */ |
| 2323 | it('should restore focus to the element outside shadow DOM on unmount, with FocusScope outside as well', async () => { |
| 2324 | const App = () => ( |
| 2325 | <> |
| 2326 | <FocusScope restoreFocus> |
| 2327 | <input data-testid="outside" /> |
| 2328 | </FocusScope> |
| 2329 | <div id="shadow-host" /> |
| 2330 | </> |
| 2331 | ); |
| 2332 | |
| 2333 | const {getByTestId} = render(<App />); |
| 2334 | const shadowHost = document.getElementById('shadow-host'); |
nothing calls this directly
no outgoing calls
no test coverage detected