How Unit test component which uses useQueryHooks and renders based on data? #2697
Unanswered
NitinChronext
asked this question in
Q&A
Replies: 1 comment 2 replies
-
please see the official docs guidelines on testing: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have an app stack component that loads pages from the server through use query hook and then it shows loading or displays data or error if any. I want to write a unit test for this component not sure how can do this. My component has 2 usequeryHooks, below is code.
Beta Was this translation helpful? Give feedback.
All reactions