Open talentlessguy opened 5 years ago
@adamsofferis there any idea on how to fix it?
hmm I'm not sure. Give the next-with-apollo
package a try and see if you get the same error.
next-with-apollo
doesn't support @apollo/react-hooks
so it doesn't work neither but by another reason.
I try to run a test for an Index page wrapped in
withApollo
but it produces an empty snapshot.Repository | Snapshot | Page source code
index.test.tsx
Error stack
How to properly run tests for this HOC? Please describe.