Commit fb31c758 authored by Moody Salem's avatar Moody Salem

test failed due to randomness. make it less likely to fail.

parent b8c383c2
...@@ -57,7 +57,7 @@ describe('retry', () => { ...@@ -57,7 +57,7 @@ describe('retry', () => {
checkTime( checkTime(
() => expect(retry(makeFn(4, 'abc'), { n: 3, maxWait: 100, minWait: 50 }).promise).rejects.toThrow('failure'), () => expect(retry(makeFn(4, 'abc'), { n: 3, maxWait: 100, minWait: 50 }).promise).rejects.toThrow('failure'),
150, 150,
305 400
) )
) )
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment