You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
fix($anchorScrollSpec): fix tests randomly failing in Firefox
Due to some timing issues, Firefox would load $anchorScroll (which in turn
would cache `$window.document` for later use), before `$window.document`
was mocked. Consequently, tests depending on `$window.document`'s being
mocked would fail.
Mocking `$window.document` during module initialization ensures that
$anchorScroll will always cache (and use) the mocked document.
0 commit comments