You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
tl;dr: I believe these lines are wrong:
react-apollo/packages/testing/src/mocks/mockLink.ts
Lines 90 to 101 in 3c05b08
IIUC the assignment on line 90 should be moved to after the
if (newData)
conditional.Intended outcome:
Use the
newData
function in aMockLink
response.Actual outcome:
Error thrown:
Mocked response should contain either result or error
How to reproduce the issue:
Try to mock a response with:
Version
The text was updated successfully, but these errors were encountered: