mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Correct test waiter for requestAnimationFrame (#20413)
Followup to 207c0dd88c. Waiters should return false to 'wait', true to continue.
This commit is contained in:
@@ -59,7 +59,7 @@ const SiteHeaderComponent = MountWidget.extend(
|
||||
_animateOpening(panel) {
|
||||
let waiter;
|
||||
if (DEBUG && isTesting()) {
|
||||
waiter = () => true;
|
||||
waiter = () => false;
|
||||
registerWaiter(waiter);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user