Skip to content

Commit

Permalink
Update spec/index.spec.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Alberto Gonzalez <[email protected]>
  • Loading branch information
yutak23 and mindhells committed Jul 31, 2024
1 parent 31df918 commit 226f651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ describe('axiosRetry(axios, { retries, retryDelay })', () => {
}, done.fail);
});

it('should more than 1200 milliseconds', (done) => {
it('should take more than 300 milliseconds with 50ms delay and 4 retries', (done) => {
const client = axios.create();
setupResponses(client, [
() => nock('http://example.com').get('/test').replyWithError(NETWORK_ERROR),
Expand Down

0 comments on commit 226f651

Please sign in to comment.