()
| 2378 | } |
| 2379 | |
| 2380 | function App() { |
| 2381 | const [show, setShow] = createSignal(true) |
| 2382 | |
| 2383 | const toggle = () => setShow((s) => !s) |
| 2384 | |
| 2385 | return ( |
| 2386 | <div> |
| 2387 | <button onClick={toggle}>{show() ? 'hide' : 'show'}</button> |
| 2388 | {show() && <Page />} |
| 2389 | </div> |
| 2390 | ) |
| 2391 | } |
| 2392 | |
| 2393 | const rendered = renderWithClient(queryClient, () => <App />) |
| 2394 |
nothing calls this directly
no test coverage detected