File tree Expand file tree Collapse file tree 1 file changed +30
-30
lines changed
src/features/custom-scrolling/test Expand file tree Collapse file tree 1 file changed +30
-30
lines changed Original file line number Diff line number Diff line change 32
32
33
33
beforeEach ( function ( ) {
34
34
spyOn ( gridUtil , 'isTouchEnabled' ) . and . returnValue ( true ) ;
35
- preventDefaultSpy = jasmine . createSpy ( 'preventDefault' ) ;
35
+ // preventDefaultSpy = jasmine.createSpy('preventDefault');
36
36
37
- element . on . and . callFake ( function ( eventName , callback ) {
38
- switch ( eventName ) {
39
- // case 'touchstart':
40
- // callback({
41
- // type: eventName,
42
- // touches: [true]
43
- // });
44
- // break;
45
- // case 'touchmove':
46
- // callback({
47
- // type: eventName,
48
- // touches: [true],
49
- // preventDefault: preventDefaultSpy
50
- // });
51
- // break;
52
- // case 'touchend':
53
- // callback({
54
- // type: eventName,
55
- // touches: [true]
56
- // });
57
- // break;
58
- // case 'touchcancel':
59
- // callback({
60
- // type: eventName,
61
- // touches: [true]
62
- // });
63
- // break;
64
- }
65
- } ) ;
37
+ // element.on.and.callFake(function(eventName, callback) {
38
+ // switch (eventName) {
39
+ // case 'touchstart':
40
+ // callback({
41
+ // type: eventName,
42
+ // touches: [true]
43
+ // });
44
+ // break;
45
+ // case 'touchmove':
46
+ // callback({
47
+ // type: eventName,
48
+ // touches: [true],
49
+ // preventDefault: preventDefaultSpy
50
+ // });
51
+ // break;
52
+ // case 'touchend':
53
+ // callback({
54
+ // type: eventName,
55
+ // touches: [true]
56
+ // });
57
+ // break;
58
+ // case 'touchcancel':
59
+ // callback({
60
+ // type: eventName,
61
+ // touches: [true]
62
+ // });
63
+ // break;
64
+ // }
65
+ // });
66
66
uiGridScroller ( element , scrollHandler ) ;
67
67
} ) ;
68
68
it ( 'should initialize uiGridScroller.initiated to NONE' , function ( ) {
You can’t perform that action at this time.
0 commit comments