make test more resilient

This commit is contained in:
ansuz 2017-09-05 11:26:41 +02:00
parent cd7b00d45b
commit d42d988d36

View file

@ -228,7 +228,7 @@ define([
th.src = URL.createObjectURL(thumb);
th.onload = function () {
$(document.body).append($(th).addClass('thumb'));
cb(th.width === 100 && th.height === 100);
cb(th.width === Thumb.dimension && th.height === Thumb.dimension);
};
});
});