DEV: Correct test waiter for requestAnimationFrame ()

Followup to 207c0dd88c6d5450aa1c0de6e9a929840972c940. Waiters should return false to 'wait', true to continue.
This commit is contained in:
David Taylor 2023-02-22 09:29:49 +00:00 committed by GitHub
parent cf0c73d1b7
commit e9ef4900ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -59,7 +59,7 @@ const SiteHeaderComponent = MountWidget.extend(
_animateOpening(panel) {
let waiter;
if (DEBUG && isTesting()) {
waiter = () => true;
waiter = () => false;
registerWaiter(waiter);
}