Test seams for the retry middleware.
Optional
Jitter source; defaults to Math.random.
Injectable for deterministic tests.
Test seams for the retry middleware.