| 315 | |
| 316 | describe.skip('speed test', () => { |
| 317 | let Component = props => { |
| 318 | if (props.depth === 0) { |
| 319 | return <div data-testid="hello">hello</div>; |
| 320 | } |
| 321 | return ( |
| 322 | <div> |
| 323 | <Component depth={props.depth - 1} /> |
| 324 | </div> |
| 325 | ); |
| 326 | }; |
| 327 | it.each` |
| 328 | Name | createTreeWalker |
| 329 | ${'native'} | ${() => document.createTreeWalker(document.body, NodeFilter.SHOW_ALL)} |
nothing calls this directly
no outgoing calls
no test coverage detected