We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 578870f commit 32a699dCopy full SHA for 32a699d
test/attempts.test.js
@@ -25,9 +25,9 @@ describe('Request attempts', function () {
25
});
26
27
28
- it('should show 3 attempts after rerty even when a network error happens and response object is undefined', function (done) {
+ it('should show 3 attempts after retry even when a network error happens and response object is undefined', function (done) {
29
request({
30
- url: 'http://www.whatever-non-existant-domain-here.com/', // return a 500 status
+ url: 'http://www.whatever-non-existant-domain-here.com/', // return a Could not resolve host: error
31
maxAttempts: 3,
32
retryDelay: 100
33
}, function (err, response, body) {
0 commit comments