diff --git a/spec/index.spec.ts b/spec/index.spec.ts index 4576e92..c0373c0 100644 --- a/spec/index.spec.ts +++ b/spec/index.spec.ts @@ -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),