Skip to content

Commit 71aaf77

Browse files
committed
remove double of onItemSwipe test
1 parent 2f7a9a5 commit 71aaf77

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

  • packages/devextreme/testing/tests/DevExpress.ui.widgets/listParts

packages/devextreme/testing/tests/DevExpress.ui.widgets/listParts/commonTests.js

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,28 +1140,6 @@ QUnit.module('options changed', moduleSetup, () => {
11401140
swipeItem();
11411141
});
11421142

1143-
QUnit.test('onItemSwipe handler should be triggered if it has in the config', function(assert) {
1144-
assert.expect(1);
1145-
1146-
const swipeHandler = () => {
1147-
assert.ok(true, 'swipe handled');
1148-
};
1149-
1150-
this.element.dxList({
1151-
items: [0],
1152-
onItemSwipe: swipeHandler,
1153-
}).dxList('instance');
1154-
1155-
const item = $.proxy(function() {
1156-
return this.element.find(`.${LIST_ITEM_CLASS}`).eq(0);
1157-
}, this);
1158-
const swipeItem = () => {
1159-
pointerMock(item()).start().swipeStart().swipe(0.5).swipeEnd(1);
1160-
};
1161-
1162-
swipeItem();
1163-
});
1164-
11651143
QUnit.test('onItemSwipe - subscription by on method', function(assert) {
11661144
assert.expect(2);
11671145

0 commit comments

Comments
 (0)