({ id }: { id: number | null })
| 2017 | } |
| 2018 | |
| 2019 | function UserInfo({ id }: { id: number | null }) { |
| 2020 | const searchQuery = useUserInfoQuery({ id, enabled: true }) |
| 2021 | |
| 2022 | return <div>UserInfo data is {JSON.stringify(searchQuery.data)} </div> |
| 2023 | } |
| 2024 | |
| 2025 | const rendered = renderWithClient(queryClient, <Page />) |
| 2026 |
nothing calls this directly
no test coverage detected