()
| 20 | test('fireEvent triggers useEffect calls', () => { |
| 21 | const effectCb = jest.fn() |
| 22 | function Counter() { |
| 23 | React.useEffect(effectCb) |
| 24 | const [count, setCount] = React.useState(0) |
| 25 | return <button onClick={() => setCount(count + 1)}>{count}</button> |
| 26 | } |
| 27 | const { |
| 28 | container: {firstChild: buttonNode}, |
| 29 | } = render(<Counter />) |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…