Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' (utils.throttle merge co…
Browse files Browse the repository at this point in the history
…rrected)
  • Loading branch information
jbigman committed Aug 4, 2023
1 parent 7733c6f commit 8a99ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/utils.throttle.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()))
Expand Down

0 comments on commit 8a99ab8

Please sign in to comment.