Skip to content

Commit

Permalink
pass test on all node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Grandvuinet committed Jan 18, 2018
1 parent c0fb40f commit a04850f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/get/get.callback.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,9 @@ describe('request-retry-stream GET callbacks', function () {
before(done => get([{timeout: true}, {timeout: true}, {timeout: true}, {timeout: true}], done));

it('should return error', () => {
console.log('result', JSON.stringify(result, null, ' '));
expect(result).to.containSubset({
err: {
code: 'ETIMEDOUT'
code: c => c === 'ETIMEDOUT' || c === 'ESOCKETTIMEDOUT'
}
});
});
Expand Down

0 comments on commit a04850f

Please sign in to comment.