react testing library + urql + suspense + msw #3736
Unanswered
AndrewIngram
asked this question in
Q&A
Replies: 1 comment
-
5 minutes later and answered my own question, I didn't have a Suspense boundary in my stack of wrapping components 🤦🏻 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use Mock Service Worker with react testing library + urql + suspense. It works fine without suspense, but as soon as I enable it (either at the client config level, or at the individual level), the component never renders -- i.e. if I stick a console.log after the suspending useFooQuery call, the log is never run. I'm wondering if anyone else has run into this or has pointers? I'm not sure which of these tools is causing the issue.
Beta Was this translation helpful? Give feedback.
All reactions