()
| 806 | start = +new Date; |
| 807 | |
| 808 | var attempt = function() { |
| 809 | var actual = _._VERSION; |
| 810 | if ((new Date - start) < limit && typeof actual != 'string') { |
| 811 | setTimeout(attempt, 16); |
| 812 | return; |
| 813 | } |
| 814 | assert.strictEqual(actual, _.VERSION); |
| 815 | done(); |
| 816 | }; |
| 817 | |
| 818 | attempt(); |
| 819 | } |