mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(refresher): finish animating before changing icon, hide when not in use
This commit is contained in:
@@ -65,7 +65,6 @@ describe('ionRefresher directive', function() {
|
||||
expect(el.hasClass('active')).toBe(true);
|
||||
expect(ctrl.scrollView.finishPullToRefresh).not.toHaveBeenCalled();
|
||||
el.scope().$apply();
|
||||
expect(el.hasClass('active')).toBe(false);
|
||||
expect(ctrl.scrollView.finishPullToRefresh).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user