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
Might not be worth it to test this. Test tries to make actual call upon calling the action creator and throws error because it expects to fetch an absolute url. Lots of ugly workarounds, and don't want to include anything that changes/adds to the actual code for the sake of getting a test working.
Might not be worth it to test this. Test tries to make actual call upon calling the action creator and throws error because it expects to fetch an absolute url. Lots of ugly workarounds, and don't want to include anything that changes/adds to the actual code for the sake of getting a test working.
https://medium.com/@kellyrmilligan/testing-async-actions-in-redux-with-isomorphic-fetch-and-fetch-mock-35f98c6c2ee7
https://medium.com/@ferrannp/unit-testing-with-jest-redux-async-actions-fetch-9054ca28cdcd
nock/nock#431
https://medium.com/@colinlmcdonald/relative-url-testing-react-redux-with-nock-1a1ac31afabf