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
Currently the test for the tool to fetch data from GitHub's API is not using mock responses, which has the potential to fail (network down, API down, throttling, etc).
It'd be interesting to replace the responses to make sure the tests fail when they have to, and not because of external factors.
Currently the test for the tool to fetch data from GitHub's API is not using mock responses, which has the potential to fail (network down, API down, throttling, etc).
It'd be interesting to replace the responses to make sure the tests fail when they have to, and not because of external factors.
@humphd suggested nock, and jest-fetch-mock
The text was updated successfully, but these errors were encountered: