()
| 3259 | } |
| 3260 | |
| 3261 | const Outer = () => { |
| 3262 | const [showComp, setShowComp] = createSignal(true) |
| 3263 | return ( |
| 3264 | <div> |
| 3265 | <button |
| 3266 | onClick={() => { |
| 3267 | queryClient.invalidateQueries() |
| 3268 | setShowComp(!showComp()) |
| 3269 | }} |
| 3270 | > |
| 3271 | toggle |
| 3272 | </button> |
| 3273 | {showComp() ? <Component /> : <div>not showing</div>} |
| 3274 | </div> |
| 3275 | ) |
| 3276 | } |
| 3277 | |
| 3278 | const rendered = renderWithClient(queryClient, () => <Outer />) |
| 3279 |
nothing calls this directly
no test coverage detected