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