Closed mr-sanders closed 8 months ago
@cjpillsbury Is it applicable and sufficient to add a response.statusCode
check in the 'an error is thrown if a request does not complete' and 'a chunk failing to upload fires an attemptFailure event' test cases? Or should they be separate test cases?
@cjpillsbury Is it applicable and sufficient to add a
response.statusCode
check in the 'an error is thrown if a request does not complete' and 'a chunk failing to upload fires an attemptFailure event' test cases? Or should they be separate test cases?
I think updating the same tests (for error
and attemptFailure
) is just fine.
This PR resolves issue #128 by incorporating response objects from the request failure handlers directly into the details of the corresponding issues.