Best practices and strategies for unit tests #177
JoaoPauloLousada
started this conversation in
General
Replies: 1 comment 1 reply
-
What you could do is mocking the underlying http requests and return some of your own data for testing. If you just use |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone. I'm wondering how you normally proceed with unit-testing services which rely on this library.
It would be super nice if you can share which strategies you normally use.
Example: if you are unit-testing a service which imports "injectQueryClient", "injectMutation" and "injectQuery", what do you normally do?
I'd appreciate if you can share a bit about this topic.
Beta Was this translation helpful? Give feedback.
All reactions