mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 23:37:49 +00:00
Tweak _.throttle unit test pass more consistently.
Former-commit-id: 91063b5c6ae0c9beb2c86cc21153d75f060afef1
This commit is contained in:
@@ -1818,12 +1818,12 @@
|
||||
actual = counter + 2;
|
||||
throttled();
|
||||
throttled();
|
||||
}, 64);
|
||||
}, 128);
|
||||
|
||||
setTimeout(function() {
|
||||
equal(counter, actual);
|
||||
QUnit.start();
|
||||
}, 128);
|
||||
}, 256);
|
||||
|
||||
ok(counter > 1);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user