Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit da10472

Browse files
test($anchorScroll): add missing scrollBy spy to the mock window
1 parent 55fc315 commit da10472

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/ng/anchorScrollSpec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ describe('$anchorScroll', function() {
5252
elmSpy = {};
5353
$provide.value('$window', {
5454
scrollTo: jasmine.createSpy('$window.scrollTo'),
55+
scrollBy: jasmine.createSpy('$window.scrollBy'),
5556
document: document,
5657
navigator: {}
5758
});

0 commit comments

Comments
 (0)