Skip to content

Commit 78ca08a

Browse files
author
Eldar Iusupzhanov
committed
fix qunit
1 parent 84a2644 commit 78ca08a

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

packages/devextreme/testing/tests/DevExpress.ui.widgets.dataGrid/columnsController.tests.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5468,7 +5468,8 @@ QUnit.module('Column Option', { beforeEach: setupModule, afterEach: teardownModu
54685468
assert.strictEqual(columnsChangedCount, 1);
54695469
assert.deepEqual(lastArgs, {
54705470
changeTypes: { columns: true, length: 1 },
5471-
optionNames: { all: true, visibleWidth: true, length: 2 }
5471+
optionNames: { all: true, visibleWidth: true, length: 2 },
5472+
appliedFilters: [undefined]
54725473
});
54735474
});
54745475

packages/devextreme/testing/tests/DevExpress.ui.widgets.dataGrid/filtering.integration.tests.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ QUnit.module('Initialization', baseModuleConfig, () => {
371371
} catch(err) {
372372
assert.ok(false, 'the error is thrown');
373373
} finally {
374-
assert.equal(calculateFilterExpressionCallCount, 3, 'calculateFilterExpression call count');
374+
assert.equal(calculateFilterExpressionCallCount, 2, 'calculateFilterExpression call count');
375375
}
376376
});
377377

@@ -399,9 +399,9 @@ QUnit.module('Initialization', baseModuleConfig, () => {
399399
}]
400400
});
401401

402-
assert.equal(calculateFilterExpressionCallCount, 3, 'calculateFilterExpression call count');
402+
assert.equal(calculateFilterExpressionCallCount, 2, 'calculateFilterExpression call count');
403403
assert.ok(grid.getCombinedFilter(), 'combined filter');
404-
assert.equal(calculateFilterExpressionCallCount, 4, 'calculateFilterExpression call count');
404+
assert.equal(calculateFilterExpressionCallCount, 3, 'calculateFilterExpression call count');
405405
});
406406

407407
function createRemoteDataSourceWithGroupPaging(arrayStore, key) {

0 commit comments

Comments
 (0)