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 has been archived by the owner on Nov 30, 2021. It is now read-only.
The am-time-ago directive uses the $timeout service to automatically update the text as time passes. This causes protractor tests to fail, as there is always a pending $timeout and thus it never manages to synchronize. For more information about protractor synchronization, see [https://github.com/angular/protractor/issues/49] .
In order to fix this issue, we simply need to replace the $timeout calls with vanilla $window.setTimeout().
The text was updated successfully, but these errors were encountered:
The am-time-ago directive uses the $timeout service to automatically update the text as time passes. This causes protractor tests to fail, as there is always a pending $timeout and thus it never manages to synchronize. For more information about protractor synchronization, see [https://github.com/angular/protractor/issues/49] .
In order to fix this issue, we simply need to replace the $timeout calls with vanilla $window.setTimeout().
The text was updated successfully, but these errors were encountered: