Closed ExploreMqt closed 9 years ago
The failure is totally unrelated to the changes made. I have however seen that same test fail one time locally. I've looked at the test and I'm not sure why it behaves unpredictably. Thoughts?
Cache#push
has an optional third argument for age, which is a timestamp. Looks like the test that is failing is not including the now
variable, so the timestamp doesn't match if it took more than 1ms to push all four entries into the cache.
LGTM: ready to merge?
I think so.
Good call on the use of Array.isArray() thanks. Still learning JS.