()
| 155 | it('warns about unwrapped updates only if environment flag is enabled', async () => { |
| 156 | let setState; |
| 157 | function App() { |
| 158 | const [state, _setState] = useState(0); |
| 159 | setState = _setState; |
| 160 | return <Text text={state} />; |
| 161 | } |
| 162 | |
| 163 | const root = ReactNoop.createRoot(); |
| 164 | root.render(<App />); |
nothing calls this directly
no test coverage detected