From 025ed51f115753cd32c2c3349ea8f69ff1d12b8c Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 15 Dec 2013 21:24:13 -0800 Subject: [PATCH] Reduce the chance of a slow script warning in some browsers in test.js. --- test/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.js b/test/test.js index 0f6cb65a5..371d31fd1 100644 --- a/test/test.js +++ b/test/test.js @@ -1663,7 +1663,7 @@ test('should work with `maxWait` option', 2, function() { if (!(isRhino && isModularize)) { - var limit = argv ? 1000 : 500, + var limit = argv ? 1000 : 256, withCount = 0, withoutCount = 0; @@ -7476,7 +7476,7 @@ test('should trigger a call when invoked repeatedly' + (index ? ' and `leading` is `false`' : ''), 1, function() { if (!(isRhino && isModularize)) { var count = 0, - limit = 500, + limit = 256, options = index ? { 'leading': false } : {}; var throttled = _.throttle(function() {