Skip to content

Commit 32a699d

Browse files
authored
Update attempts.test.js
1 parent 578870f commit 32a699d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/attempts.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ describe('Request attempts', function () {
2525
});
2626
});
2727

28-
it('should show 3 attempts after rerty even when a network error happens and response object is undefined', function (done) {
28+
it('should show 3 attempts after retry even when a network error happens and response object is undefined', function (done) {
2929
request({
30-
url: 'http://www.whatever-non-existant-domain-here.com/', // return a 500 status
30+
url: 'http://www.whatever-non-existant-domain-here.com/', // return a Could not resolve host: error
3131
maxAttempts: 3,
3232
retryDelay: 100
3333
}, function (err, response, body) {

0 commit comments

Comments
 (0)