update resize tests to allow for debounce time delay

This commit is contained in:
Jeff Nusz 2016-08-18 16:57:40 -07:00
parent ac8dfb62d2
commit 2ea99f4d73

View File

@ -1044,10 +1044,15 @@ console.log(c2.__checkbox.getAttribute('checked'));
gui.add({ x: 0 }, 'x');
}
setTimeout(function() {
ok($(gui.domElement).hasClass(GUI.CLASS_TOO_TALL), 'GUI has too tall class');
notEqual($(gui.domElement).children('ul')[0].style.height, 'auto');
gui.destroy();
}, 0);
});