Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(lib/runnable.js): Fix timeout range issue for good
Found that previous "fix" hadn't actually fixed the correct value, as the wrong upper bound value had been used. Further checks indicated that IE had problems (surprise, surprise) with negative timeout values. New code clamps to nonnegative range ending at `INT_MAX`. Closes mochajs#1652
- Loading branch information