(props)
| 317 | |
| 318 | it('supports isEntering and isExiting props', async () => { |
| 319 | function TestModal(props) { |
| 320 | return ( |
| 321 | <DialogTrigger> |
| 322 | <Button /> |
| 323 | <Modal {...props}> |
| 324 | <Dialog aria-label="Modal">A modal</Dialog> |
| 325 | </Modal> |
| 326 | </DialogTrigger> |
| 327 | ); |
| 328 | } |
| 329 | |
| 330 | let {getByRole, rerender} = render(<TestModal isEntering />); |
| 331 |
nothing calls this directly
no outgoing calls
no test coverage detected