The React Query Devtools gives you several actions that you can manually trigger on your queries.
These include:
By using these actions you can manually test out your component's behavior with the various states of your queries.