How to await useQuery result in a custom hook test - TanStack