Skip to content

Commit da8a24d

Browse files
committed
test(ionList): remove tap-disabled from tests
1 parent 4c6916d commit da8a24d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/unit/angular/directive/list.unit.js

-4
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ describe('ionList directive', function() {
9595
expect(deleteButtons.hasClass('ng-hide')).toBe(false);
9696
expect(el.children().hasClass('list-left-editing')).toBe(true);
9797
var content = angular.element(el[0].querySelectorAll('.item-content'));
98-
expect(content.attr('data-tap-disabled')).toEqual('true');
9998
}));
10099

101100
it('should watch ctrl.showDelete when false from true', inject(function($animate) {
@@ -116,7 +115,6 @@ describe('ionList directive', function() {
116115
expect(deleteButtons.length).not.toBe(0);
117116
expect(el.children().hasClass('list-left-editing')).toBe(false);
118117
var content = angular.element(el[0].querySelectorAll('.item-content'));
119-
expect(content.attr('data-tap-disabled')).toBeFalsy();
120118
}));
121119

122120
it('should watch ctrl.showReorder when true', inject(function($animate) {
@@ -136,7 +134,6 @@ describe('ionList directive', function() {
136134
expect(reorderButtons.hasClass('ng-hide')).toBe(false);
137135
expect(el.children().hasClass('list-right-editing')).toBe(true);
138136
var content = angular.element(el[0].querySelectorAll('.item-content'));
139-
expect(content.attr('data-tap-disabled')).toEqual('true');
140137
}));
141138

142139
it('should watch ctrl.showReorder when false from true', inject(function($animate) {
@@ -157,7 +154,6 @@ describe('ionList directive', function() {
157154
expect(reorderButtons.hasClass('ng-hide')).toBe(true);
158155
expect(el.children().hasClass('list-right-editing')).toBe(false);
159156
var content = angular.element(el[0].querySelectorAll('.item-content'));
160-
expect(content.attr('data-tap-disabled')).toBeFalsy();
161157
}));
162158
});
163159

0 commit comments

Comments
 (0)