3734-fix(item_diary): apply async scroll #913
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#913
Loading…
Reference in New Issue
No description provided.
Delete Branch "3734-item_diary_scroll"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -47,3 +48,4 @@
controller.lineFk = 1;
controller.scrollToLine('invalidValue');
expect(controller.$.$applyAsync).toHaveBeenCalledWith(jasmine.any(Function));
You don't need to test angular's life cycle.
@ -52,3 +56,4 @@
});
it('should assign $location then call anchorScroll using received value', () => {
jest.spyOn(controller.$, '$applyAsync');
same as above
LGTM