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