({ id }: { id: number | null })
| 1990 | } |
| 1991 | |
| 1992 | function UserInfo({ id }: { id: number | null }) { |
| 1993 | const searchQuery = useUserInfoQuery({ id, enabled: true }) |
| 1994 | |
| 1995 | return <div>UserInfo data is {JSON.stringify(searchQuery.data)} </div> |
| 1996 | } |
| 1997 | |
| 1998 | const rendered = renderWithClient(queryClient, <Page />) |
| 1999 |
nothing calls this directly
no test coverage detected