mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
refactor(scroll): minor tweak to make unit tests happy
This commit is contained in:
@@ -310,7 +310,7 @@ describe('$ionicScroll Controller', function() {
|
||||
});
|
||||
});
|
||||
|
||||
it('should work', function() {
|
||||
it('.anchorScroll with el matching hash should scroll to it, even if the el is not directly below the list', function() {
|
||||
var ele = {
|
||||
offsetLeft: 8,
|
||||
offsetTop: 9,
|
||||
|
||||
Reference in New Issue
Block a user