()
| 3207 | } |
| 3208 | |
| 3209 | const Outer = () => { |
| 3210 | const [showComp, setShowComp] = createSignal(true) |
| 3211 | return ( |
| 3212 | <div> |
| 3213 | <button |
| 3214 | onClick={() => { |
| 3215 | queryClient.invalidateQueries() |
| 3216 | setShowComp(!showComp()) |
| 3217 | }} |
| 3218 | > |
| 3219 | toggle |
| 3220 | </button> |
| 3221 | {showComp() ? <Component /> : <div>not showing</div>} |
| 3222 | </div> |
| 3223 | ) |
| 3224 | } |
| 3225 | |
| 3226 | const rendered = renderWithClient(queryClient, () => <Outer />) |
| 3227 |
nothing calls this directly
no test coverage detected