diff --git a/packages/devextreme/testing/tests/DevExpress.ui.widgets/tabPanel.tests.js b/packages/devextreme/testing/tests/DevExpress.ui.widgets/tabPanel.tests.js index 1393198ee2be..2efdaf825e18 100644 --- a/packages/devextreme/testing/tests/DevExpress.ui.widgets/tabPanel.tests.js +++ b/packages/devextreme/testing/tests/DevExpress.ui.widgets/tabPanel.tests.js @@ -204,6 +204,14 @@ QUnit.module('options', { assert.strictEqual(this.tabWidgetInstance.option('iconPosition'), 'top', 'option of nested tabs widget successfully changed'); }); + QUnit.test('stylingMode option should be passed to tabs correctly', function(assert) { + assert.strictEqual(this.tabWidgetInstance.option('stylingMode'), 'primary', 'option successfully passed to nested tabs widget'); + + this.tabPanelInstance.option('stylingMode', 'secondary'); + + assert.strictEqual(this.tabWidgetInstance.option('stylingMode'), 'secondary', 'option of nested tabs widget successfully changed'); + }); + QUnit.test('dataSource option test', function(assert) { assert.expect(2);