• 
      

    Fix JavaScript unit tests for 2.0.x.

    Review Request #6443 — Created Oct. 14, 2014 and submitted — Latest diff uploaded

    Information

    Review Board
    release-2.0.x
    ec75820...

    Reviewers

    A lot of the optimizations made resulted in broken unit tests, due to
    various tests not accounting for throttled results.

    We now optimistically disable throttling where possible (for cases where
    the _.throttle call isn't part of the object's prototype) and do proper
    async testing in the other cases.

    Unit tests pass.