From 8a99ab8f1c046144ec5b95d8bfbd953871b86894 Mon Sep 17 00:00:00 2001 From: jbigman Date: Fri, 4 Aug 2023 10:40:52 +0200 Subject: [PATCH] Merge remote-tracking branch 'upstream/main' (utils.throttle merge corrected) --- test/utils.throttle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/utils.throttle.js b/test/utils.throttle.js index f7e37dc9..a4b2b50e 100644 --- a/test/utils.throttle.js +++ b/test/utils.throttle.js @@ -26,7 +26,7 @@ describe('Throttle tests', function () { server.respondWith('GET', url, JSON.stringify({ test: 'this works' })); const req = throttled(requestLib, { limit: 1, - interval: 5000 + interval: 2000 }); return Promise.all([req({ url }), req({ url }), req({ url })]) .then((response) => response.map(req => new Date(req.headers.date).getTime()))