()
| 227 | |
| 228 | let setCounter; |
| 229 | function Counter() { |
| 230 | const [counter, _setCounter] = useState(0); |
| 231 | setCounter = _setCounter; |
| 232 | |
| 233 | Scheduler.log(`Count: ${counter}`); |
| 234 | return counter; |
| 235 | } |
| 236 | |
| 237 | const root = ReactTestRenderer.create(null, {unstable_isConcurrent: true}); |
| 238 | root.update(<Counter />); |
nothing calls this directly
no test coverage detected