Skip to content

Conversation

jauniuse
Copy link

@jauniuse jauniuse commented Feb 7, 2017

Sometimes there is a need to reject request promise, if the request is taking too long to complete.

Changes:

  • Reject request promise if it takes longer time to complete than the specified amount which is defined as params.timeout

  • Update tests - use fetch-mock library, add test for newly added timeout functionality

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant