({text})
| 197 | // @gate enableActivity |
| 198 | it('mounts without layout effects when hidden', async () => { |
| 199 | function Child({text}) { |
| 200 | useLayoutEffect(() => { |
| 201 | Scheduler.log('Mount layout'); |
| 202 | return () => { |
| 203 | Scheduler.log('Unmount layout'); |
| 204 | }; |
| 205 | }, []); |
| 206 | return <Text text="Child" />; |
| 207 | } |
| 208 | |
| 209 | const root = ReactNoop.createRoot(); |
| 210 |
nothing calls this directly
no test coverage detected