()
| 2946 | } |
| 2947 | |
| 2948 | function App() { |
| 2949 | const [show, toggle] = useReducer((x) => !x, true) |
| 2950 | |
| 2951 | return ( |
| 2952 | <div> |
| 2953 | <button onClick={toggle}>{show ? 'hide' : 'show'}</button> |
| 2954 | {show && <Page />} |
| 2955 | </div> |
| 2956 | ) |
| 2957 | } |
| 2958 | |
| 2959 | const rendered = renderWithClient(queryClient, <App />) |
| 2960 |
nothing calls this directly
no test coverage detected