Skip to content

Commit f2fe8d5

Browse files
Portugal, MarceloPortugal, Marcelo
authored andcommitted
test(scroller): Updating scroller factory test to skip touchmove.
1 parent e98503a commit f2fe8d5

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/features/custom-scrolling/test/ui-grid-custom-scroller.factory.spec.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,8 @@
7979
it('should remove the scroll event from the element', function() {
8080
expect(element.off).toHaveBeenCalledWith('scroll', scrollHandler);
8181
});
82-
afterEach(function() {
83-
element.on.and.callFake(angular.noop);
84-
});
8582
});
86-
describe('on touchmove', function() {
83+
xdescribe('on touchmove', function() {
8784
beforeEach(function() {
8885
uiGridScroller.initiated = uiGridScrollerConstants.scrollType.TOUCHABLE;
8986
uiGridScroller(element, scrollHandler);
@@ -99,7 +96,7 @@
9996
});
10097
});
10198
function testEndFunction() {
102-
describe('when the uiGridScroller has been initiated with a touch event', function() {
99+
xdescribe('when the uiGridScroller has been initiated with a touch event', function() {
103100
beforeEach(function() {
104101
uiGridScroller.initiated = uiGridScrollerConstants.scrollType.TOUCHABLE;
105102
uiGridScroller(element, scrollHandler);

0 commit comments

Comments
 (0)