make test more resilient

pull/1/head
ansuz 7 years ago
parent cd7b00d45b
commit d42d988d36

@ -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);
};
});
});

Loading…
Cancel
Save