Skip to content

Commit

Permalink
Merge 1f9defc into 3274591
Browse files Browse the repository at this point in the history
  • Loading branch information
khitrenovich committed Feb 25, 2020
2 parents 3274591 + 1f9defc commit 78ee46c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/index.test.js
Expand Up @@ -2,12 +2,12 @@

const rp = require('../index');
const optionsWithRetryFail = {
uri: 'http://adadadadad.com/',
uri: 'http://thisurlshouldnevereverexist.com/',
method: 'GET',
retry: 3
};
const optionsWithoutRetryFail = {
uri: 'http://adadadadad.com/',
uri: 'http://thisurlshouldnevereverexist.com/',
method: 'GET'
};
const optionsWithRetry = {
Expand Down Expand Up @@ -118,7 +118,7 @@ describe('request-promise-retry', function () {
// failure should take a bit of time to happen
const startTime = new Date();
return rp({
uri: 'http://adadadadad.com/',
uri: 'http://thisurlshouldnevereverexist.com/',
method: 'GET',
retry: 4,
delay: 30,
Expand All @@ -139,4 +139,4 @@ describe('request-promise-retry', function () {
return Promise.resolve(expect(data.accepted).equal(false));
});
});
});
});

0 comments on commit 78ee46c

Please sign in to comment.