()
| 289 | let counter = 0; |
| 290 | |
| 291 | function Widget() { |
| 292 | useEffect(() => { |
| 293 | ++counter; |
| 294 | }); |
| 295 | const [, forceUpdate] = useReducer(x => x + 1, 0); |
| 296 | return <button onClick={forceUpdate}>test</button>; |
| 297 | } |
| 298 | |
| 299 | act(() => { |
| 300 | render(<Widget />, scratch); |
nothing calls this directly
no test coverage detected
searching dependent graphs…