diff --git a/baconjs/baconjs-tests.ts b/baconjs/baconjs-tests.ts index 79eef483c..e542ef1c9 100644 --- a/baconjs/baconjs-tests.ts +++ b/baconjs/baconjs-tests.ts @@ -330,7 +330,7 @@ function Errors() { return Bacon.retry({ source: () => ajaxCall(url), retries: 5, - isRetryable: error => error.status !== 404, + isRetryable: (error:JQueryXHR) => error.status !== 404, delay: context => 100 // Just use the same delay always }); });