How to test queryClient.refetchQueries
with vitest and RTL?
#8226
Unanswered
mikhaelesa
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have this code that submits a data to the server.
When I run
vitest --coverage
the report shows that therefetchQueries
is not being covered but the rest is covered. How can I make sure that the refetchQueries is being covered in the test?Beta Was this translation helpful? Give feedback.
All reactions