()
| 27 | } |
| 28 | |
| 29 | function ChildComponent() { |
| 30 | useEffect(() => { |
| 31 | // Simulate an error |
| 32 | throw new Error('This is an error!'); |
| 33 | }, []); |
| 34 | |
| 35 | return <div>This is the child component.</div>; |
| 36 | } |
| 37 | |
| 38 | function App() { |
| 39 | return ( |
nothing calls this directly
no outgoing calls
no test coverage detected