Open KonradKlimczak opened 4 years ago
I am also facing the same issue...Any help is much appreciated
Same here!
bump
I seem to have just run into the same issue. Did anyone find a way around this?
Any news or workaround?
Was writing tests & got stuck on this, the data received on onCompleted
is always undefined
Data from mocked result in MockProvider is not passed to
onCompleted
callback.I have component like this:
When I create a test and wrap it with MockProvider which has mocked query for this component, in
onCompleted
callback I receiveundefined
instead of data. If I use it in default way using returned data fromuseLazyQuery
it works just fine.