(ui)
| 36 | }) |
| 37 | |
| 38 | const renderAndFlush = async (ui) => { |
| 39 | let view |
| 40 | await act(async () => { |
| 41 | view = render(ui) |
| 42 | await Promise.resolve() |
| 43 | }) |
| 44 | return view |
| 45 | } |
| 46 | |
| 47 | test('opens on click when click is the configured trigger', async () => { |
| 48 | await renderAndFlush( |
no outgoing calls
no test coverage detected