({greeting, subject})
| 53 | } |
| 54 | |
| 55 | function Greet({greeting, subject}) { |
| 56 | return ( |
| 57 | <div> |
| 58 | <strong> |
| 59 | {greeting} {subject} |
| 60 | </strong> |
| 61 | </div> |
| 62 | ) |
| 63 | } |
| 64 | |
| 65 | const {unmount} = render(<MyPortal />) |
| 66 | expect(screen.getByText('Hello World')).toBeInTheDocument() |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…