-
-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Description
query created by createQuery + fetch works fine (it mocked good)
But query created by createJsonQuery does not mocked for some reason.
// Error due no handler assigned
Object {
"cause": [TypeError: fetch failed],
"errorType": "NETWORK",
"explanation": "Request was failed due to network problems",
"reason": "fetch failed",
}Notes
Due to shallow github code exploration internally both queries is use fetch with Request. So i suggest it can be issue with headers passed to queries
Reproduce
Could not provide reproduce in stackblitz due to problems with msw integration, but here is github repo that can be connected to codesandbox.io dev container
Links
Metadata
Metadata
Assignees
Labels
No labels