mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-06-15 02:34:48 -04:00
![]() There are a few problems with sleeping before checking the condition for the first time: * It slows down tests. * The predicate is never checked if the interval duration is greater than the timeout. * 0 can't be used to test if the condition is currently true. There is a minor disadvantage to sleeping before checking: It will cause more tests to run without an asynchronous interruption, which could theoretically mask some async bugs. |
||
---|---|---|
.. | ||
lib | ||
specs | ||
travis | ||
helper.js | ||
index.html | ||
runner.css | ||
runner.js |